mirror of
https://github.com/Steffo99/backup-duplicity.git
synced 2024-12-22 11:34:22 +00:00
Possibly some optimization
This commit is contained in:
parent
e6236d203b
commit
1f2a2ce267
1 changed files with 5 additions and 7 deletions
12
Dockerfile
12
Dockerfile
|
@ -3,13 +3,11 @@ FROM alpine:latest AS base
|
||||||
|
|
||||||
# Install duplicity
|
# Install duplicity
|
||||||
# RUN pacman --noconfirm -Syu duplicity python-pip python-pydrive2
|
# RUN pacman --noconfirm -Syu duplicity python-pip python-pydrive2
|
||||||
RUN apk add py3-pip
|
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
|
||||||
RUN apk add python3-dev
|
RUN \
|
||||||
RUN apk add gcc libffi-dev musl-dev
|
apk add py3-pip python3-dev gcc libffi-dev musl-dev duplicity rust cargo git && \
|
||||||
RUN apk add duplicity
|
pip install pydrive2 && \
|
||||||
RUN apk add rust cargo
|
apk del rust musl-dev libffi-dev gcc python3-dev cargo git
|
||||||
RUN pip install pydrive2
|
|
||||||
RUN apk del rust musl-dev libffi-dev gcc python3-dev cargo
|
|
||||||
|
|
||||||
WORKDIR /var/lib/duplicity
|
WORKDIR /var/lib/duplicity
|
||||||
ENV HOME="/var/lib/duplicity"
|
ENV HOME="/var/lib/duplicity"
|
||||||
|
|
Loading…
Reference in a new issue