From 3f9bf174853e9f1aa49711f4644cee361bc759f9 Mon Sep 17 00:00:00 2001 From: poggenpower Date: Mon, 6 Jan 2025 22:21:49 +0000 Subject: [PATCH] fix GCC14 compile issue see https://gitlab.com/duplicity/duplicity/-/issues/853 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3ae5a38..216dc10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/python:3.12-alpine +FROM docker.io/python:3.12 RUN apk fix && \ apk add --no-cache \ @@ -10,8 +10,8 @@ RUN apk fix && \ # install dev version of duplicity change URL or comment out RUN pip install setuptools_scm boto3 python-gettext &&\ apk add gettext &&\ - apk add -t .build-deps linux-headers python3-dev librsync-dev gcc musl-dev git &&\ - pip install https://gitlab.com/duplicity/duplicity/-/archive/rel.3.0.3.2/duplicity-rel.3.0.3.2.tar.bz2 &&\ + apk add -t .build-deps build-base linux-headers python3-dev librsync-dev git &&\ + CFLAGS="-Wno-int-conversion" pip install https://gitlab.com/duplicity/duplicity/-/archive/rel.3.0.3.2/duplicity-rel.3.0.0.tar.bz2 &&\ apk del --purge .build-deps RUN addgroup -S app &&\