2021-06-14 14:48:31 -07:00
|
|
|
ARG BUILD_FROM=homeassistant/aarch64-base
|
|
|
|
FROM $BUILD_FROM
|
|
|
|
|
|
|
|
ENV LANG C.UTF-8
|
|
|
|
|
|
|
|
ARG BUILD_ARCH=aarch64
|
2023-11-07 09:15:31 -08:00
|
|
|
ARG VERSION=v1.64.2
|
2021-06-14 14:48:31 -07:00
|
|
|
|
2021-11-29 10:39:52 -08:00
|
|
|
# Install rclone
|
2021-06-14 14:48:31 -07:00
|
|
|
COPY install_rclone.sh /
|
|
|
|
RUN /install_rclone.sh "${VERSION}" "${BUILD_ARCH}"
|
|
|
|
|
2021-11-29 10:39:52 -08:00
|
|
|
# Add timegaps for pruning backups
|
2023-11-07 09:16:27 -08:00
|
|
|
RUN apk add --no-cache python3 py3-pip jq && \
|
2022-05-18 10:31:41 -07:00
|
|
|
pip install --no-cache-dir timegaps==0.1.1 && \
|
|
|
|
apk del py3-pip
|
2021-11-29 10:39:52 -08:00
|
|
|
|
2021-06-14 14:48:31 -07:00
|
|
|
ENV XDG_CONFIG_HOME=/data
|
|
|
|
|
|
|
|
COPY rootfs /
|