Merge pull request #53 from chillout2k/chillout2k-patch-1

Update Dockerfile (pip)
This commit is contained in:
Dominik Chilla 2024-12-08 21:22:37 +01:00 committed by GitHub
commit 6a4c93ed76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
ARG PARENT_IMAGE=alpine:3.16
ARG PARENT_IMAGE=alpine:3.21
FROM ${PARENT_IMAGE}
LABEL maintainer="Dominik Chilla <dominik@zwackl.de>"
LABEL git_repo="https://github.com/chillout2k/exota-milter"
@ -8,7 +8,7 @@ ADD ./requirements.txt /requirements.txt
RUN apk update \
&& apk add --no-cache python3 python3-dev py3-pip \
gcc libc-dev libmilter-dev \
&& pip3 install -r requirements.txt \
&& pip3 install -r requirements.txt --break-system-packages \
&& apk del gcc libc-dev libmilter-dev python3-dev py3-pip \
&& apk add libmilter \
&& adduser -D exota-milter \