Force Debian installs to never prompt the user

Sometimes Debian just wants to ask you questions on an install,
this is really not a useful behaviour when there is no one
attached to the process.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-12-12 15:24:26 -08:00
parent 7489a58c86
commit d7d957a59f
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,4 @@
FROM debian:stable
RUN apt-get update && apt-get -y upgrade && apt-get install -y ca-certificates
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -yq upgrade && apt-get install -yq ca-certificates

View File

@ -1,3 +1,4 @@
FROM debian:testing
RUN apt-get update && apt-get -y upgrade && apt-get install -y qemu-user-static
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -yq upgrade && apt-get install -yq qemu-user-static