mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-14 09:52:21 +00:00
fix python install in container
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
FROM restic/restic:0.17.3
|
FROM restic/restic:0.17.3
|
||||||
|
|
||||||
RUN apk update && apk add python3 \
|
RUN apk update && apk add \
|
||||||
|
python3 \
|
||||||
|
py3-pip \
|
||||||
dcron \
|
dcron \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
postgresql-client \
|
postgresql-client \
|
||||||
@@ -8,7 +10,8 @@ RUN apk update && apk add python3 \
|
|||||||
|
|
||||||
ADD . /restic-compose-backup
|
ADD . /restic-compose-backup
|
||||||
WORKDIR /restic-compose-backup
|
WORKDIR /restic-compose-backup
|
||||||
RUN pip3 install -U pip setuptools wheel && pip3 install -e .
|
RUN pip install -U pip setuptools wheel --break-system-packages && \
|
||||||
|
pip install -e . --break-system-packages
|
||||||
ENV XDG_CACHE_HOME=/cache
|
ENV XDG_CACHE_HOME=/cache
|
||||||
|
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
|||||||
Reference in New Issue
Block a user