made postfix Alpine based

This commit is contained in:
Andreas Balogh
2022-07-20 20:18:08 +00:00
parent cd466e6d38
commit 40a6cfab88
20 changed files with 2612 additions and 11 deletions

13
postfix/Dockerfile.ubuntu Normal file
View File

@@ -0,0 +1,13 @@
# syntax=docker/dockerfile:1.3-labs
FROM ubuntu:20.04
# install apt packages
RUN <<EOF
apt-get update -y
apt-get install -y postfix spampd
apt-get autoclean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache ~/.npm
EOF
WORKDIR /root
EXPOSE 25
VOLUME /var/spool/postfix
ENTRYPOINT ["/usr/sbin/postmulti -i %i -p start"]