mirror of
https://github.com/plausible/hosting.git
synced 2025-07-03 10:37:29 -05:00
feat: Replace old bytemark/smtp image with the source code
This will allow more platforms to use this template repo. The original dockerhub image was last updated 5 years ago, and as such, newer architectures aren't supported like the Raspberry Pi 4 which a lot of people are using for self hosting these days
This commit is contained in:
13
smtp/stretch/Dockerfile
Normal file
13
smtp/stretch/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM debian:stretch-slim
|
||||
|
||||
# Install exim4
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN set -ex; \
|
||||
apt-get update; \
|
||||
apt-get install -y exim4-daemon-light; \
|
||||
apt-get clean
|
||||
|
||||
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
||||
EXPOSE 25/tcp
|
||||
ENTRYPOINT [ "docker-entrypoint.sh" ]
|
||||
CMD [ "exim", "-bdf", "-v", "-q30m" ]
|
Reference in New Issue
Block a user