From 50a8590d3834da64dc445c3dad5131d4e3a76ad8 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Wed, 18 May 2022 10:31:41 -0700 Subject: [PATCH] Update pins of python and pip and reduce image size --- rclone/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rclone/Dockerfile b/rclone/Dockerfile index abd8d0a..023d2df 100755 --- a/rclone/Dockerfile +++ b/rclone/Dockerfile @@ -11,8 +11,9 @@ COPY install_rclone.sh / RUN /install_rclone.sh "${VERSION}" "${BUILD_ARCH}" # Add timegaps for pruning backups -RUN apk add python3=3.9.5-r2 py3-pip=20.3.4-r1 -RUN pip install timegaps==0.1.1 +RUN apk add --no-cache python3~=3.9 py3-pip~=20 && \ + pip install --no-cache-dir timegaps==0.1.1 && \ + apk del py3-pip ENV XDG_CONFIG_HOME=/data