diff options
Diffstat (limited to 'app/build')
-rw-r--r-- | app/build/docker-compose.yml | 8 | ||||
-rw-r--r-- | app/build/postfix/Dockerfile | 4 | ||||
-rwxr-xr-x | app/build/postfix/entrypoint.sh | 1 |
3 files changed, 12 insertions, 1 deletions
diff --git a/app/build/docker-compose.yml b/app/build/docker-compose.yml index de8ecf5..38031d2 100644 --- a/app/build/docker-compose.yml +++ b/app/build/docker-compose.yml @@ -82,3 +82,11 @@ services: args: VERSION: 0cd26dfbf4ab7be467325ed77230cf371147a98e image: superboum/plume:v1 + + postfix: + build: + context: ./postfix + args: + # https://packages.debian.org/fr/buster/postfix + VERSION: 3.4.14-0+deb10u1 + image: superboum/amd64_postfix:v3 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 "$@" |