Update pins of python and pip and reduce image size

This commit is contained in:
ViViDboarder 2022-05-18 10:31:41 -07:00
parent 57376bfdef
commit 50a8590d38

View File

@ -11,8 +11,9 @@ COPY install_rclone.sh /
RUN /install_rclone.sh "${VERSION}" "${BUILD_ARCH}" RUN /install_rclone.sh "${VERSION}" "${BUILD_ARCH}"
# Add timegaps for pruning backups # Add timegaps for pruning backups
RUN apk add python3=3.9.5-r2 py3-pip=20.3.4-r1 RUN apk add --no-cache python3~=3.9 py3-pip~=20 && \
RUN pip install timegaps==0.1.1 pip install --no-cache-dir timegaps==0.1.1 && \
apk del py3-pip
ENV XDG_CONFIG_HOME=/data ENV XDG_CONFIG_HOME=/data