mirror of
https://github.com/yavook/kiwi-backup.git
synced 2024-11-23 07:23:00 +00:00
method to install duplicity itself; purge cargo artifacts
This commit is contained in:
parent
4633a4923f
commit
b78a20d912
2 changed files with 6 additions and 7 deletions
|
@ -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; \
|
||||
\
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue