Files
Mailu/core/postfix/Dockerfile
Michael Wyraz 0b4fe24a68 Install p3-yarn as dependency for podop
(cherry picked from commit fb9ddbca7a)
2024-09-28 06:41:38 +00:00

32 lines
723 B
Docker

<<<<<<< HEAD
# syntax=docker/dockerfile-upstream:1.4.3
=======
ARG DISTRO=alpine:3.10
FROM $DISTRO
# python3 shared with most images
RUN apk add --no-cache \
python3 py3-pip git bash py3-multidict py3-yarl \
&& pip3 install --upgrade pip
>>>>>>> 09ee3ce9 (Install py3-multidict from repository before installing socrate to avoid the need of gcc during build)
# postfix image
FROM base
ARG VERSION=local
LABEL version=$VERSION
RUN set -euxo pipefail \
; apk add --no-cache cyrus-sasl-login postfix postfix-pcre logrotate
COPY conf/ /conf/
COPY start.py /
RUN echo $VERSION >/version
#EXPOSE 25/tcp 10025/tcp
HEALTHCHECK --start-period=30s CMD ! /usr/libexec/postfix/master -t
VOLUME ["/queue"]
CMD /start.py