98e6ef216a
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-2941811 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-2941811
18 lines
518 B
Docker
18 lines
518 B
Docker
#Dockerfile for a Postfix email relay service
|
|
FROM alpine:3.15
|
|
MAINTAINER Juan Luis Baptiste juan.baptiste@gmail.com
|
|
|
|
RUN apk update && \
|
|
apk add bash gawk cyrus-sasl cyrus-sasl-login cyrus-sasl-crammd5 mailx \
|
|
postfix && \
|
|
rm -rf /var/cache/apk/* && \
|
|
mkdir -p /var/log/supervisor/ /var/run/supervisor/ && \
|
|
sed -i -e 's/inet_interfaces = localhost/inet_interfaces = all/g' /etc/postfix/main.cf
|
|
|
|
COPY run.sh /
|
|
RUN chmod +x /run.sh
|
|
RUN newaliases
|
|
|
|
EXPOSE 25
|
|
#ENTRYPOINT ["/run.sh"]
|
|
CMD ["/run.sh"]
|