From e8bf83b231a9c7b29f3ed1732e5638007b2eba9b Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Tue, 5 Jan 2021 08:11:18 +0100 Subject: [PATCH] Switch imap and smtp to debian:buster-slim --- imap.Dockerfile | 15 --------------- smtp.Dockerfile | 4 ++-- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 imap.Dockerfile diff --git a/imap.Dockerfile b/imap.Dockerfile deleted file mode 100644 index 14859a5..0000000 --- a/imap.Dockerfile +++ /dev/null @@ -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 \ No newline at end of file diff --git a/smtp.Dockerfile b/smtp.Dockerfile index 39a9195..8ed5da3 100644 --- a/smtp.Dockerfile +++ b/smtp.Dockerfile @@ -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"] \ No newline at end of file +CMD ["dumb-init", "/usr/local/bin/run-postfix"]