Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] Update docker duplicity dependency #927

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 8 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,14 @@ VOLUME [ "/root" ]

# Build dependencies
COPY --from=builder /app/requirements.txt requirements.txt
RUN apk add --no-cache --virtual .build \
build-base \
krb5-dev \
libffi-dev \
librsync-dev \
libxml2-dev \
libxslt-dev \
openssl-dev \
cargo \
# Runtime dependencies, based on https://gitlab.com/duplicity/duplicity/-/blob/master/requirements.txt
&& pip install --no-cache-dir -r requirements.txt \
&& apk del .build \
&& rm -rf /root/.cargo
RUN apk update && apk add --no-cache --virtual .build build-base && sync
RUN apk add --no-cache --virtual .build krb5-dev && sync
RUN apk add --no-cache --virtual .build libffi-dev && sync
RUN apk add --no-cache --virtual .build librsync-dev && sync
RUN apk add --no-cache --virtual .build libxml2-dev && sync
RUN apk add --no-cache --virtual .build libxslt-dev && sync
RUN apk add --no-cache --virtual .build openssl-dev && sync
RUN apk add --no-cache --virtual .build cargo && sync

COPY bin/* /usr/local/bin/
RUN chmod a+rx /usr/local/bin/* && sync
Expand Down
Loading