ci script
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-12-10 13:27:12 +01:00
parent 29f55598d9
commit a666ec8452
6 changed files with 86 additions and 4 deletions

View File

@ -1,15 +1,33 @@
FROM debian:latest
FROM debian:bookworm
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
LABEL ImageName="registry.gitlab.com/wolutator/exim-docker"
LABEL ImageName=""
# domain to be used in sender address of sent mails
ENV LOCALMAILNAME=""
# smarthost to send mail to
ENV SMARTHOST=""
# recipient addresses for root aliases, separate multiple addresses by space
ENV ROOT=""
# ip addresses or networks to allow for relaying, separate multiple ones by semicolon
ENV RELAYNETS=""
RUN \
apt update && \
apt install -y exim4 && \
apt upgrade -y --autoremove && \
apt install -y exim4-daemon-light ca-certificates curl && \
rm -rf /var/lib/apt/lists/*
VOLUME /etc/exim4
COPY update-exim4.conf.tmpl /etc/exim4/
COPY aliases.tmpl /etc/exim4/
COPY adjust-config.sh /etc/exim4/
COPY start.sh /etc/exim4/
WORKDIR /etc/exim4
EXPOSE 25
CMD [ "./start.sh" ]