Initial commit
This commit is contained in:
commit
9421f5aea8
3 changed files with 55 additions and 0 deletions
25
Dockerfile
Normal file
25
Dockerfile
Normal file
|
@ -0,0 +1,25 @@
|
|||
FROM debian:buster
|
||||
|
||||
EXPOSE 25 465 587
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive && \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
postfix \
|
||||
postfix-ldap \
|
||||
rsyslog \
|
||||
supervisor \
|
||||
ca-certificates &&\
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
ADD entrypoint.sh /
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
|
||||
VOLUME /var/spool/postfix
|
||||
|
||||
#ENTRYPOINT ["/entrypoint.sh"]
|
||||
ENTRYPOINT ["supervisord"]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue