diff options
Diffstat (limited to 'app/build/postfix')
-rw-r--r-- | app/build/postfix/Dockerfile | 4 | ||||
-rwxr-xr-x | app/build/postfix/entrypoint.sh | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/app/build/postfix/Dockerfile b/app/build/postfix/Dockerfile index 9e4c067..0c74fdc 100644 --- a/app/build/postfix/Dockerfile +++ b/app/build/postfix/Dockerfile @@ -1,8 +1,10 @@ FROM amd64/debian:buster +ARG VERSION + RUN apt-get update && \ apt-get install -y \ - postfix \ + postfix=$VERSION \ postfix-ldap COPY entrypoint.sh /usr/local/bin/entrypoint diff --git a/app/build/postfix/entrypoint.sh b/app/build/postfix/entrypoint.sh index c7ace3d..fcf1a66 100755 --- a/app/build/postfix/entrypoint.sh +++ b/app/build/postfix/entrypoint.sh @@ -26,5 +26,6 @@ for file in $(ls /etc/postfix-conf); do done echo ${MAILNAME} > /etc/mailname +postmap /etc/postfix/transport exec "$@" |