mirror of
https://github.com/SrIzan10/docker-smtp.git
synced 2026-05-01 10:45:16 +00:00
22 lines
504 B
Docker
22 lines
504 B
Docker
FROM ubuntu:18.04
|
|
|
|
LABEL maintainer="team@appwrite.io"
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y iproute2 exim4-daemon-light && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
|
|
find /var/log -type f | while read f; do echo -ne '' > $f; done;
|
|
|
|
COPY entrypoint.sh /bin/
|
|
COPY set-exim4-update-conf /bin/
|
|
|
|
RUN chmod a+x /bin/entrypoint.sh && \
|
|
chmod a+x /bin/set-exim4-update-conf
|
|
|
|
EXPOSE 25
|
|
|
|
ENTRYPOINT ["/bin/entrypoint.sh"]
|
|
|
|
CMD ["exim", "-bd", "-q15m", "-v"]
|