postfix: use my pkg instead of internet one
This commit is contained in:
parent
bfbd94af19
commit
3f1fb67314
2 changed files with 12 additions and 13 deletions
|
|
@ -1,10 +1,15 @@
|
|||
FROM alpine:3.7
|
||||
FROM alpine
|
||||
MAINTAINER Pierre-Olivier Mercier <nemunaire@nemunai.re>
|
||||
|
||||
RUN apk add --no-cache postfix
|
||||
RUN apk add --no-cache bash postfix
|
||||
|
||||
EXPOSE 25
|
||||
|
||||
CMD ["/usr/sbin/postfix", "-d"]
|
||||
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"]}'
|
||||
|
|
|
|||
Reference in a new issue