Replace ENV with ARG for DEBIAN_FRONTEND (#1180)

Best practice suggests not using ENV for this setting as it persists after build. ARG is only set during build.
This commit is contained in:
j-marz 2019-07-24 22:48:59 +10:00 committed by Thomas VIAL
parent ba06cf5bf4
commit c3e7ecc773

View file

@ -1,7 +1,7 @@
FROM debian:stretch-slim
LABEL maintainer="Thomas VIAL"
ENV DEBIAN_FRONTEND noninteractive
ARG DEBIAN_FRONTEND=noninteractive
ENV VIRUSMAILS_DELETE_DELAY=7
ENV ONE_DIR=0
ENV ENABLE_POSTGREY=0