forked from jan/cacert-devsetup
Add test mgr setup
This commit is contained in:
parent
8e7f8c3d46
commit
30ddadd954
14 changed files with 345 additions and 64 deletions
23
mail.Dockerfile
Normal file
23
mail.Dockerfile
Normal file
|
@ -0,0 +1,23 @@
|
|||
FROM debian:buster
|
||||
|
||||
RUN apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
curl \
|
||||
dovecot-imapd \
|
||||
dumb-init \
|
||||
mutt \
|
||||
psmisc \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
EXPOSE 143
|
||||
|
||||
RUN adduser --uid 1000 --gecos "catchall mailbox" --disabled-password catchall
|
||||
|
||||
VOLUME /home/catchall/Maildir
|
||||
|
||||
COPY docker/run-dovecot /usr/local/bin/run-dovecot
|
||||
|
||||
CMD ["dumb-init", "/usr/local/bin/run-dovecot"]
|
Loading…
Add table
Add a link
Reference in a new issue