forked from jan/cacert-devsetup
Switch imap and smtp to debian:buster-slim
This commit is contained in:
parent
7e09af008e
commit
e8bf83b231
2 changed files with 2 additions and 17 deletions
|
@ -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
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM debian:buster
|
FROM debian:buster-slim
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& DEBIAN_FRONTEND=noninteractive \
|
&& DEBIAN_FRONTEND=noninteractive \
|
||||||
|
@ -26,4 +26,4 @@ VOLUME /home/catchall/Maildir
|
||||||
|
|
||||||
COPY docker/run-postfix /usr/local/bin/run-postfix
|
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"]
|
||||||
|
|
Loading…
Reference in a new issue