1
0
Fork 0
mirror of https://github.com/yavook/kiwi-backup.git synced 2024-11-27 00:53:01 +00:00

method to install duplicity itself; purge cargo artifacts

This commit is contained in:
Jörn-Michael Miehe 2022-03-02 02:26:13 +01:00
parent 4633a4923f
commit b78a20d912
2 changed files with 6 additions and 7 deletions

View file

@ -1,8 +1,6 @@
FROM yavook/kiwi-cron:0.1 AS deps
LABEL maintainer="jmm@yavook.de"
# Previous work: https://github.com/wernight/docker-duplicity
RUN set -ex; \
\
# create backup source
@ -48,15 +46,20 @@ RUN set -ex; \
install wheel \
; \
\
# install duplicity
python3 -m pip --no-cache-dir \
install -r /tmp/requirements.txt \
; \
python3 -m pip --no-cache-dir \
install duplicity \
; \
\
# remove buildtime dependencies
python3 -m pip --no-cache-dir \
uninstall -y wheel \
; \
apk del --purge .build-deps;
apk del --purge .build-deps; \
rm -rf "${USER}/.cargo";
RUN set -ex; \
\

View file

@ -1,7 +1,3 @@
##### main app #####
duplicity==0.8.21
# dependencies as per
# https://gitlab.com/duplicity/duplicity/-/blob/rel.0.8.21/requirements.txt