Initial commit

This commit is contained in:
2026-03-27 04:12:36 +01:00
parent 0ed8044a70
commit 7306fe697c
5 changed files with 230 additions and 2 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM ubuntu:22.04
WORKDIR /opt/postfix
RUN apt update && \
apt upgrade -y && \
apt install -y postfix curl
RUN curl -SsfL -o /usr/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/v3.11.5/gomplate_linux-amd64-slim" && \
chmod 755 /usr/bin/gomplate
COPY entrypoint.sh .
COPY config ./config
EXPOSE 25/tcp 465/tcp 587/tcp
CMD ["/bin/bash", "entrypoint.sh"]