Parcourir la source

pin postfix package version (hadolint/DL3018)

Fabian Peter Hammerle il y a 4 ans
Parent
commit
2db216175f
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -1,6 +1,7 @@
 FROM alpine:3.10
 
-RUN apk add --no-cache postfix
+ARG POSTFIX_PACKAGE_VERSION=3.4.7-r0
+RUN apk add --no-cache postfix=$POSTFIX_PACKAGE_VERSION
 
 # http://www.postfix.org/MAILLOG_README.html
 RUN postconf -F | grep -E '^postlog/unix-dgram/service = postlog$' \