mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
4309b3d093
We no longer perform `apt-get upgrade`, and make indentation consistent between different Containerfile definitions.
15 lines
461 B
Docker
15 lines
461 B
Docker
FROM docker.io/debian:stable-slim
|
|
ARG VERSION=3.4.14
|
|
|
|
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
|
postfix=${VERSION}* postfix-mysql=${VERSION}* syslog-ng-core gettext ca-certificates
|
|
|
|
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"]
|