From patchwork Sun May 17 21:41:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1292266 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=hGxAfNYr; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49QFwR0Vvnz9sTC for ; Mon, 18 May 2020 07:41:58 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DF45188538; Sun, 17 May 2020 21:41:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oGUJibWrfQTd; Sun, 17 May 2020 21:41:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 7703788320; Sun, 17 May 2020 21:41:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 24B471BF2B7 for ; Sun, 17 May 2020 21:41:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2165387F50 for ; Sun, 17 May 2020 21:41:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NsshCMm9a8dn for ; Sun, 17 May 2020 21:41:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 4A0CB87F48 for ; Sun, 17 May 2020 21:41:46 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id u188so8179100wmu.1 for ; Sun, 17 May 2020 14:41:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=g1nsMpXuxSuzoL390Isn4UnaoDra38MoteRu5KeqPjM=; b=hGxAfNYrgE1j61cJMuInFNWdK4Uj9wmPcjtYLuXNIPoRZ+64kciwjlgC5Xha4dQlTL mcQixF04U6SrEQDQk0Mk83/zFncrn9SawGNs+bEsSXWwS5AokTjqcRYymYS/m7cg0PDC 7ZBj8boictx63XR+GJ8cVFuIiLa9pFlDxbknjjrxLt3Eh4No+lOMT+waTiupPDLKvDHg gKiAAp3kuhJ8r8K/wCtJ2zkj9UY4EQx5KMPS4DryvCUyGoHLk11l4G3yoTdS+D6K49zX hHD24C7g+phLzpgTrU5DpcVINPXynxUAKkiyuYTGh0+hImwg+qn9Zzew9oRX7T9j/2d8 G5rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=g1nsMpXuxSuzoL390Isn4UnaoDra38MoteRu5KeqPjM=; b=HjpVVnUSn0KPSsVefEMAVLzamDBEM+qcpnAkWeSG3FbaCDzaoIAGHNfD+3M5i6PkNc qtdDpkKcL+i6n/ee0Zc/Gwv4oKTlGkepfG2HqzHG0qJq+KbcmDT4KU0IC6RfEEIL0buU a+83ZihpQbneRrPkZ3GXEgeAymL527ojzPYqfsjOKQUIKtwmKWkGps+sdqecvSDueT1U LgPoqh4OtZThDbWMf15x+SvvrNj4J3KsatmHa938EXHf7UBJ290o2Eob2jZrwFAapeBf xWNOyrGS/y3cwwR/b4nNRBqvl1hDRjLKmwwWEHPyOPOuXuJ8dUATDzy+1n0xfMY4v2H0 R21g== X-Gm-Message-State: AOAM531ym3nJeHaXlWbDhBpP9p19KhBpIkEL4rcz3iKioKBeBexN/RQX PXizcG6abcu+8yTi7nEhzinvKAFd X-Google-Smtp-Source: ABdhPJwxZJWyxkUF1sFTQAVAjFNrsIC3gmf4BEXB7K3SrEvPQTVEXt18V6GvvvUMPMkGB2w8UTsmxw== X-Received: by 2002:a1c:9cca:: with SMTP id f193mr15406685wme.71.1589751704436; Sun, 17 May 2020 14:41:44 -0700 (PDT) Received: from scaer.home ([2a01:cb19:8b51:cb00:9dd9:6f89:4087:b3eb]) by smtp.gmail.com with ESMTPSA id h20sm13455682wma.6.2020.05.17.14.41.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2020 14:41:44 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sun, 17 May 2020 23:41:40 +0200 Message-Id: <48c45cb866a160ce4cc05b03fdf15237eb346b66.1589751688.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 4/4 v2] support/docker: add a Fedore-32 based image X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , "Yann E. MORIN" , Ricardo Martincoski Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hopefully, this image is reproducible, since we are not using any update repository, and from the looks of it, the repository of the release is never touched. Signed-off-by: "Yann E. MORIN" Cc: Ricardo Martincoski Cc: Thomas Petazzoni --- Changes v1 -> v2: - fix ordering of packages list (Ricardo) --- support/docker/Dockerfile.fedora-32 | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 support/docker/Dockerfile.fedora-32 diff --git a/support/docker/Dockerfile.fedora-32 b/support/docker/Dockerfile.fedora-32 new file mode 100644 index 0000000000..85e5c4ba9c --- /dev/null +++ b/support/docker/Dockerfile.fedora-32 @@ -0,0 +1,48 @@ +# vi: ft=dockerfile +# Note: this dockerfile is not reproducible, because the repository +# where we fetch packages from is not pinned to a specific point in +# time; i.e. we'll get whatever is current at the moment we build. + +FROM fedora:32 + +LABEL maintainer="Buildroot mailing list " \ + vendor="Buildroot" \ + description="Container based on Fedora 32, with everything needed to run Buildroot already installed" + +# Remove the repository with updates, so we only +# get packages as they were at time of release. +RUN rm -f /etc/yum.repos.d/fedora-updates*.repo && \ + dnf -y install \ + @development-tools \ + bc \ + bzip2 \ + bzr \ + cpio \ + cvs \ + file \ + gcc-c++ \ + git \ + mercurial \ + ncurses-devel \ + perl-ExtUtils-MakeMaker \ + perl-Thread-Queue \ + python-nose2 \ + python-pexpect \ + qemu-system-arm \ + qemu-system-x86 \ + rsync \ + subversion \ + unzip \ + wget \ + which \ + && dnf -y clean all + +RUN useradd -ms /bin/bash br-user && \ + chown -R br-user:br-user /home/br-user && \ + printf 'br-user ALL=NOPASSWD: /usr/bin/su -\n' >/etc/sudoers.d/br-user && \ + chmod 0440 /etc/sudoers.d/br-user + +USER br-user +WORKDIR /home/br-user +ENV HOME /home/br-user +ENV LC_ALL C.utf8