Initial commit
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user