27 lines
573 B
Docker
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" ]
|