fix python install in container
This commit is contained in:
parent
2e96ea790f
commit
9ea82ca1ee
1 changed files with 5 additions and 2 deletions
|
@ -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 []
|
||||||
|
|
Loading…
Add table
Reference in a new issue