浏览代码

pin postfix package version (hadolint/DL3018)

Fabian Peter Hammerle 4 年之前
父节点
当前提交
2db216175f
共有 1 个文件被更改,包括 2 次插入1 次删除
  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$' \