Debian frontend should be an ARG instead

As ARG er temporary ENV, and users might exec into and thereby not be noninteractive

https://github.com/docker/docker/issues/4032
This commit is contained in:
Kalle Møller 2016-12-23 21:38:31 +01:00 committed by Graham Booker
parent 2d098d41bd
commit 52088403fa

View File

@ -1,9 +1,8 @@
FROM ubuntu:16.04
ENV DEBIAN_FRONTEND="noninteractive" \
TERM="xterm"
ARG S6_OVERLAY_VERSION=v1.17.2.0
ARG DEBIAN_FRONTEND="noninteractive"
ENV TERM="xterm"
ENTRYPOINT ["/init"]