#Dockerfile for a Postfix email relay service FROM alpine:3@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b 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"]