mirror of
https://github.com/Mailu/Mailu.git
synced 2025-06-02 23:17:26 +02:00
Do the same for the postfix container
This commit is contained in:
parent
630a23da3c
commit
6fb554bc2e
@ -22,9 +22,9 @@ RUN apk add --no-cache --virtual .build-deps gcc musl-dev python3-dev \
|
||||
|
||||
# Image specific layers under this line
|
||||
# Building pycares from source requires py3-wheel and libffi-dev packages
|
||||
RUN apk add --no-cache --virtual .build-deps gcc musl-dev python3-dev py3-wheel libffi-dev \
|
||||
&& pip3 install --no-binary :all: postfix-mta-sts-resolver==1.0.1 \
|
||||
&& apk del .build-deps
|
||||
RUN pip install --no-cache-dir --extra-index-url=https://www.piwheels.org/simple --only-binary=:all: postfix-mta-sts-resolver==1.0.1 || (apk add --no-cache --virtual .build-deps gcc musl-dev python3-dev py3-wheel libffi-dev \
|
||||
&& pip3 install postfix-mta-sts-resolver==1.0.1 \
|
||||
&& apk del .build-deps )
|
||||
|
||||
RUN apk add --no-cache postfix postfix-pcre cyrus-sasl-login rsyslog logrotate
|
||||
|
||||
@ -37,4 +37,4 @@ VOLUME ["/queue"]
|
||||
CMD /start.py
|
||||
|
||||
HEALTHCHECK --start-period=350s CMD echo QUIT|nc localhost 25|grep "220 .* ESMTP Postfix"
|
||||
RUN echo $VERSION >> /version
|
||||
RUN echo $VERSION >> /version
|
||||
|
Loading…
x
Reference in New Issue
Block a user