From patchwork Sun Jun 3 09:08:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 924700 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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.b="cJsVmsFD"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40zC0c5j9fz9s0x for ; Sun, 3 Jun 2018 19:08:32 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D935A89771; Sun, 3 Jun 2018 09:08:30 +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 bD1ji5GCfpq3; Sun, 3 Jun 2018 09:08:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 38E8689785; Sun, 3 Jun 2018 09:08:30 +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 C9D131C0000 for ; Sun, 3 Jun 2018 09:08:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C785489779 for ; Sun, 3 Jun 2018 09:08:27 +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 pkWrTa+R3t1I for ; Sun, 3 Jun 2018 09:08:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by hemlock.osuosl.org (Postfix) with ESMTPS id 17B2289771 for ; Sun, 3 Jun 2018 09:08:27 +0000 (UTC) Received: by mail-wr0-f171.google.com with SMTP id d2-v6so24652528wrm.10 for ; Sun, 03 Jun 2018 02:08:27 -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; bh=EocG+RnDEteLpcUpcgcXQAW2pYour9Z8XlYVAG8oiDY=; b=cJsVmsFDfCDL1C6B9gmdW6UKZFsnjB2BbhChKWM2N9fWSdDODryTNydyMG+dS0VGuK VDt5mbDv7mIyKrfDE0VpT2reZDV56fuHb3cg4C13A0CqOrt/NhYoSxjcX9HblNLllcUk F4MRZ7+WRH0iEvgGvnsmD6dwL9gTsu8MUKchNCPK70SGi9fDvSc+Zp9pAr2RQ0NukbIn cH540uPHhM4y0qO9aw2qoXzjPncl5otIzcmAU7I0I4Wfhic/78C6qMUKRjnI7H0cUlEo +ddbqJdt93rQUh/TgwJAGoeHdntJfUrnThzL/LKS+WGJDjQD+c1hk1avJE4ZF9Xg5v9M wSPw== 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; bh=EocG+RnDEteLpcUpcgcXQAW2pYour9Z8XlYVAG8oiDY=; b=LN24vwBREWTMppnwb7q7etw7DRXaNSS9GjzUTWHzRUgus+yM+bquyWq1hl+B7DzmZ9 Dc5gi6qONe35bplK+LF+uS/BV/ua/maAQhXJeXvJBw1eF53i4pDWfbTXD0zm4WqJ/J1o XNsHpd+j0Sh2kWmIkkAS4UItaQvylooKnYQfFW3hbQz5Uq+ZGNgxzf/dRHx9Knpua1Zd p0zG8Wjjp3jFBIcTzkuSGaANAuABDPQIXh7pxB4ePQc9Npb6P5HnXkQINZds48YisbRc PuypVUhp196jEvSLoTq/aRjZl24ONUaX0VDoDfBsz/9zmCFVPBYiaZIuN4w9qevdxlBg HrVQ== X-Gm-Message-State: ALKqPwedJrm6vM4XGKbn8ERxbt4A7HfYjBLnxE5eXcD8iJKpOju9eRg+ aetT8psGY4rr4JDshuCgm6pcKg== X-Google-Smtp-Source: ADUXVKIkXKVTqIekd/7QZ7Gict9gNvP6qEse+RVL2NZqJUd1CMVqeXH3/LDpJW5Ppobc7Cq011Avlw== X-Received: by 2002:adf:90cd:: with SMTP id i71-v6mr13102324wri.136.1528016905254; Sun, 03 Jun 2018 02:08:25 -0700 (PDT) Received: from scaer.bzh.lan (2a01cb0886107300d539cb71123e92f9.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:d539:cb71:123e:92f9]) by smtp.gmail.com with ESMTPSA id q17-v6sm4476704wrs.5.2018.06.03.02.08.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jun 2018 02:08:24 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sun, 3 Jun 2018 11:08:19 +0200 Message-Id: <49308956156142d6dab6b7917fcd8429f155ffa5.1528016895.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: Subject: [Buildroot] [PATCH 2/5] support/docker: sort the list of installed packages X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E. MORIN" , Ricardo Martincoski MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" As suggested in the docker best practices [0], order the package list alphabetically, and list only one package per line. This will be much usefull later, we need to update the list of installed packages, like adding new ones for example. [0] https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#sort-multi-line-arguments Signed-off-by: "Yann E. MORIN" Cc: Ricardo Martincoski --- Changes v1 -> v2: - don't drop python-pip yet (Ricardo) --- support/docker/Dockerfile | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile index 8c525f7cf1..fe9e643a34 100644 --- a/support/docker/Dockerfile +++ b/support/docker/Dockerfile @@ -22,13 +22,29 @@ COPY apt-sources.list /etc/apt/sources.list RUN dpkg --add-architecture i386 && \ apt-get update -y RUN apt-get install -y --no-install-recommends \ - build-essential cmake libc6:i386 g++-multilib \ - bc ca-certificates file locales rsync \ - cvs bzr git mercurial subversion wget \ - cpio unzip \ + bc \ + build-essential \ + bzr \ + ca-certificates \ + cpio \ + cvs \ + file \ + g++-multilib \ + git \ + libc6:i386 \ libncurses5-dev \ - python-nose2 python-pexpect qemu-system-arm qemu-system-x86 \ - python-pip && \ + locales \ + mercurial \ + python-nose2 \ + python-pexpect \ + python-pip \ + qemu-system-arm \ + qemu-system-x86 \ + rsync \ + subversion \ + unzip \ + wget \ + && \ apt-get -y autoremove && \ apt-get -y clean