mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-29 17:22:20 +00:00
Merge #2108
2108: Fix build dependencies pycares r=mergify[bot] a=Erriez ## What type of PR? Fix missing build dependencies `postfix-mta-sts-resolver` for `pycares` which requires `py3-wheel` and `libffi-dev` packages. Restore virtual build in single RUN line. ## What does this PR do? ### Related issue(s) - Mention an issue like: #2106 - Auto close an issue like: closes #2106 Co-authored-by: Erriez <Erriez@users.noreply.github.com>
This commit is contained in:
@@ -19,9 +19,10 @@ RUN pip3 install socrate==0.2.0
|
||||
RUN pip3 install "podop>0.2.5"
|
||||
|
||||
# Image specific layers under this line
|
||||
RUN apk add --no-cache --virtual .build-deps gcc musl-dev python3-dev
|
||||
RUN pip3 install --no-binary :all: postfix-mta-sts-resolver==1.0.1
|
||||
RUN apk del .build-deps gcc musl-dev python3-dev
|
||||
# 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 apk add --no-cache postfix postfix-pcre cyrus-sasl-login rsyslog logrotate
|
||||
|
||||
|
||||
1
towncrier/newsfragments/2106.fix
Normal file
1
towncrier/newsfragments/2106.fix
Normal file
@@ -0,0 +1 @@
|
||||
Fix build dependencies postfix-mta-sts-resolver.
|
||||
Reference in New Issue
Block a user