From: João Fonseca Date: Tue, 16 Feb 2021 14:05:01 +0000 (+0000) Subject: docker/PLA/Dockerfile: Avoid waiting for user input during APT installs X-Git-Tag: branch-sol006v331-start~54 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=845aa5264f928851618f07b6dcc1b28a41069bb6;p=osm%2Fdevops.git docker/PLA/Dockerfile: Avoid waiting for user input during APT installs Change-Id: I98d5abf877641c80de99ea93e2584c8908ed12b8 Signed-off-by: João Fonseca --- diff --git a/docker/PLA/Dockerfile b/docker/PLA/Dockerfile index 4451da89..8c2f97ff 100644 --- a/docker/PLA/Dockerfile +++ b/docker/PLA/Dockerfile @@ -18,8 +18,8 @@ FROM ubuntu:18.04 LABEL authors="Lars-Göran Magnusson" RUN apt-get --yes update \ - && apt-get --yes install git python python-pip python3 python3-pip libmysqlclient-dev libssl-dev libffi-dev \ - && apt-get --yes install mysql-client curl software-properties-common libgl1-mesa-glx \ + &&DEBIAN_FRONTEND=noninteractive apt-get --yes install git python python-pip python3 python3-pip libmysqlclient-dev libssl-dev libffi-dev \ + &&DEBIAN_FRONTEND=noninteractive apt-get --yes install mysql-client curl software-properties-common libgl1-mesa-glx \ && python3 -m pip install -U pip \ && python3 -m pip install pymzn==0.18.3 @@ -34,7 +34,7 @@ RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} PLA c ARG PLA_VERSION ARG COMMON_VERSION -RUN apt-get --yes update && apt-get -y install python3-osm-common${COMMON_VERSION} python3-osm-pla${PLA_VERSION} +RUN apt-get --yes update && DEBIAN_FRONTEND=noninteractive apt-get -y install python3-osm-common${COMMON_VERSION} python3-osm-pla${PLA_VERSION} COPY scripts/ scripts/