postfix/Dockerfile
Renovate Bot 621938d6fa
Some checks are pending
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/build Pipeline is pending
ci/woodpecker/cron/lint Pipeline is pending
chore(deps): update alpine docker tag to v3.20.0 (#16)
Co-authored-by: Renovate Bot <renovate@mgrote.net>
Co-committed-by: Renovate Bot <renovate@mgrote.net>
2024-05-23 02:01:53 +02:00

16 lines
407 B
Docker

#Dockerfile for a Postfix email relay service
FROM alpine:3.20.0
COPY run.sh /
# hadolint ignore=DL3018
RUN apk update --no-cache && \
apk add --no-cache bash gawk cyrus-sasl cyrus-sasl-login cyrus-sasl-crammd5 mailx postfix-pcre \
postfix && \
mkdir -p /var/log/supervisor/ /var/run/supervisor/ && \
chmod +x /run.sh && \
newaliases
EXPOSE 25
#ENTRYPOINT ["/run.sh"]
CMD ["/run.sh"]