mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
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:
parent
ba06cf5bf4
commit
c3e7ecc773
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:stretch-slim
|
FROM debian:stretch-slim
|
||||||
LABEL maintainer="Thomas VIAL"
|
LABEL maintainer="Thomas VIAL"
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
ENV VIRUSMAILS_DELETE_DELAY=7
|
ENV VIRUSMAILS_DELETE_DELAY=7
|
||||||
ENV ONE_DIR=0
|
ENV ONE_DIR=0
|
||||||
ENV ENABLE_POSTGREY=0
|
ENV ENABLE_POSTGREY=0
|
||||||
|
|
Loading…
Reference in a new issue