16 lines
408 B
Docker
16 lines
408 B
Docker
FROM alpine:3.15
|
|
MAINTAINER Pierre-Olivier Mercier <nemunaire@nemunai.re>
|
|
|
|
RUN apk add --no-cache bash postfix
|
|
|
|
EXPOSE 25
|
|
|
|
ENV POSTFIX_maillog_file=/dev/stdout
|
|
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
|
CMD ["/usr/sbin/postfix", "start-fg"]
|
|
|
|
LABEL org.mobyproject.config='{"binds": ["/etc/resolv.conf:/etc/resolv.conf"], "capabilities": ["CAP_NET_BIND_SERVICE"]}'
|