1
0
ketr.services/Dockerfile.mail
James Ketrenos 97a73102bf Working on DNS and email
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2023-10-07 00:15:49 -07:00

27 lines
573 B
Docker

FROM ubuntu:jammy
RUN apt-get -q update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
amavisd-new \
clamav-daemon \
clamav-freshclam \
cron \
dovecot-core \
dovecot-managesieved \
dovecot-sieve \
inotify-tools \
milter-greylist \
opendkim \
openssh-server \
postfix \
spamassassin \
python3 \
python-is-python3 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log}
COPY /Dockerfile.mail /Dockerfile.mail
COPY /mail.sh /mail.sh
ENTRYPOINT [ "/mail.sh" ]