Skip to content

Commit

Permalink
fix GCC14 compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
poggenpower committed Jan 6, 2025
1 parent 8d72e56 commit 3f9bf17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/python:3.12-alpine
FROM docker.io/python:3.12

RUN apk fix && \
apk add --no-cache \
Expand All @@ -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 &&\
Expand Down

0 comments on commit 3f9bf17

Please sign in to comment.