mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-14 01:44:59 +00:00
fix python install in container
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
FROM restic/restic:0.17.3
|
||||
|
||||
RUN apk update && apk add python3 \
|
||||
RUN apk update && apk add \
|
||||
python3 \
|
||||
py3-pip \
|
||||
dcron \
|
||||
mariadb-client \
|
||||
postgresql-client \
|
||||
@@ -8,7 +10,8 @@ RUN apk update && apk add python3 \
|
||||
|
||||
ADD . /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
|
||||
|
||||
ENTRYPOINT []
|
||||
|
||||
Reference in New Issue
Block a user