coreos-home-server/service/postfix/Containerfile

16 lines
487 B
Plaintext
Raw Normal View History

FROM docker.io/debian:bookworm-slim
ARG VERSION=3.7.6
RUN apt-get update -y && apt-get install -y --no-install-recommends \
2023-11-05 17:58:29 +00:00
postfix=${VERSION}* postfix-mysql=${VERSION}* syslog-ng-core gettext ca-certificates \
netcat-traditional
COPY container/config /etc/postfix
COPY container/run-postfix /run-postfix
RUN addgroup --system --gid 5000 virtual
RUN adduser --system --uid 5000 --ingroup virtual --home /var/mail/virtual virtual
EXPOSE 25 465 587
ENTRYPOINT ["/run-postfix"]