1
Fork 0
mirror of https://github.com/Steffo99/backup-duplicity.git synced 2024-12-22 11:34:22 +00:00

Add rust toolchain

This commit is contained in:
Steffo 2023-03-15 00:27:43 +01:00
parent 33a69368e1
commit 2cc3e2a77d
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -3,13 +3,13 @@ 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 duplicity
RUN apk add py3-pip RUN apk add py3-pip
RUN apk add python3-dev RUN apk add python3-dev
RUN apk add gcc RUN apk add gcc libffi-dev musl-dev
RUN apk add libffi-dev RUN apk add duplicity
RUN apk add musl-dev RUN apk add rust
RUN pip install pydrive2 RUN pip install pydrive2
RUN apk delete rust musl-dev libffi-dev gcc python3-dev
WORKDIR /var/lib/duplicity WORKDIR /var/lib/duplicity
ENV HOME="/var/lib/duplicity" ENV HOME="/var/lib/duplicity"