Switch to python and Jinja2 for the Postfix container

This commit is contained in:
kaiyou
2017-09-24 14:34:46 +02:00
parent 67423b057d
commit a11eb4ba35
6 changed files with 44 additions and 99 deletions

View File

@@ -1,10 +1,8 @@
FROM alpine
RUN apk add --no-cache bash postfix postfix-sqlite postfix-pcre rsyslog
RUN apk add --no-cache postfix postfix-sqlite postfix-pcre rsyslog python py-jinja2
COPY conf /etc/postfix
COPY rsyslog.conf /etc/rsyslog.conf
COPY conf /conf
COPY start.py /start.py
COPY start.sh /start.sh
CMD ["/start.sh"]
CMD /start.py