Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=profusion-mobi.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fGHzIVcWI9hgmnV0yM5brM1FIXervDzt8fVvcgO9TxA=; b=QtBVP0wwC+wzE8DpYteHBcCfXCKaIZ7ek0oNcOpOkLmKOzx9SPKPIcYLgGIr3IUQ4I 7H2+ID9BUxuzCCQ35rqmaYP72nhDX+RDKqeu5LYKtdd5fPtDAJWT6P4UyDIUjqCgbO4/ quizhQybiDD7UP4ARMr51U3SXfVXuSD3GB62FRnDLNxKE/ThDqH/rMvhf7vbPqQTHdoV 1ptiXOuZx97MvKlxu0cclBJXYduJKsoRt9Td/fgDegZjU6O1F8vK7RUkX0H9bE4+Eqza HEmlnCYOZAFlmUqfUK+yLgL3OnukRklirXs8+Jxf2PEGlBduwNanRjtohLbZzIB+6ThD p3BQ== From: Guilherme Campos Camargo Date: Fri, 26 Jan 2018 15:35:43 -0200 Message-Id: <20180126173545.16424-8-guicc@profusion.mobi> In-Reply-To: <20180126173545.16424-1-guicc@profusion.mobi> References: <20180126173545.16424-1-guicc@profusion.mobi> Subject: [Fuego] [PATCH 7/9] Move dpkg-reconfigure dash to first RUN instruction List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fuego@lists.linuxfoundation.org DEBIAN_FRONTEND=noninteractive has been explicitely set as an ARG in the beginning of the Dockerfile. That environment variable is set only during build time, not being exported with the container image. Signed-off-by: Guilherme Campos Camargo --- Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index c39454d..499dd52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,11 @@ MAINTAINER tim.bird@sony.com # Prepare basic image # ============================================================================== -WORKDIR / +ARG DEBIAN_FRONTEND=noninteractive + COPY frontend-install/apt/sources/fuego-debian-jessie.list \ /etc/apt/sources.list.d/fuego-debian-jessie.list -RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ +RUN apt-get update && \ apt-get -yV install \ apt-utils \ at \ @@ -71,9 +72,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ vim \ wget \ xmlstarlet && \ - rm -rf /var/lib/apt/lists/* - -RUN echo dash dash/sh boolean false | debconf-set-selections ; DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash + rm -rf /var/lib/apt/lists/* && \ + echo dash dash/sh boolean false | debconf-set-selections && \ + dpkg-reconfigure dash RUN pip install \ filelock \ @@ -83,7 +84,7 @@ RUN pip install \ RUN echo deb http://emdebian.org/tools/debian/ jessie main > /etc/apt/sources.list.d/crosstools.list && \ curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | apt-key add - && \ dpkg --add-architecture armhf && \ - DEBIAN_FRONTEND=noninteractive apt-get update && \ + apt-get update && \ apt-get -yV install \ binutils-arm-linux-gnueabihf \ cpp-arm-linux-gnueabihf \ -- 2.15.1