FROM alpine:edge RUN apk --update --no-cache add opensmtpd && \ install -d -m 0711 -v /var/spool/smtpd ENTRYPOINT smtpd -d