Explorar o código

pin postfix package version (hadolint/DL3018)

Fabian Peter Hammerle %!s(int64=4) %!d(string=hai) anos
pai
achega
2db216175f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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$' \