From c3e7ecc7731f621794391b3e5ba5582e86cd555f Mon Sep 17 00:00:00 2001 From: j-marz Date: Wed, 24 Jul 2019 22:48:59 +1000 Subject: [PATCH] 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. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 64f19a38..469c70cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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