postfix
This commit is contained in:
28
postfix/Dockerfile
Normal file
28
postfix/Dockerfile
Normal file
@ -0,0 +1,28 @@
|
||||
FROM alpine:3
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
bash \
|
||||
nano \
|
||||
curl \
|
||||
postfix \
|
||||
postfix-ldap \
|
||||
postfix-pcre \
|
||||
postfix-policyd-spf-perl \
|
||||
ca-certificates
|
||||
|
||||
RUN update-ca-certificates && \
|
||||
mkdir /cert && \
|
||||
chown 100:101 /cert
|
||||
|
||||
COPY --chown=root:root start.sh config /
|
||||
|
||||
VOLUME /config
|
||||
VOLUME /cert
|
||||
VOLUME /var/spool/postfix
|
||||
|
||||
EXPOSE 10025/tcp
|
||||
EXPOSE 10465/tcp
|
||||
|
||||
USER root
|
||||
|
||||
CMD ["/start.sh"]
|
Reference in New Issue
Block a user