diff --git a/Dockerfile b/Dockerfile index 07ba3e7..93e1af8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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; \ \ diff --git a/requirements.txt b/requirements.txt index 365df1a..3bb3b2b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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