1
0
Fork 0

Switch imap and smtp to debian:buster-slim

This commit is contained in:
Jan Dittberner 2021-01-05 08:11:18 +01:00
parent 7e09af008e
commit e8bf83b231
2 changed files with 2 additions and 17 deletions

View file

@ -1,15 +0,0 @@
FROM debian:buster
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
ca-certificates \
curl \
dovecot-imapd \
psmisc \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 25
COPY docker/start-postfix.sh /usr/local

View file

@ -1,4 +1,4 @@
FROM debian:buster
FROM debian:buster-slim
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
@ -26,4 +26,4 @@ VOLUME /home/catchall/Maildir
COPY docker/run-postfix /usr/local/bin/run-postfix
CMD ["dumb-init", "/usr/local/bin/run-postfix"]
CMD ["dumb-init", "/usr/local/bin/run-postfix"]