mirror of
https://github.com/ViViDboarder/hassio-addon-rclone.git
synced 2024-11-05 12:56:36 +00:00
1c9f9ce58f
Since this is built on device, the base image updates unpredictably. I can pin these again if I run my own off-device build pipeline.
21 lines
416 B
Docker
Executable File
21 lines
416 B
Docker
Executable File
ARG BUILD_FROM=homeassistant/aarch64-base
|
|
FROM $BUILD_FROM
|
|
|
|
ENV LANG C.UTF-8
|
|
|
|
ARG BUILD_ARCH=aarch64
|
|
ARG VERSION=v1.55.1
|
|
|
|
# Install rclone
|
|
COPY install_rclone.sh /
|
|
RUN /install_rclone.sh "${VERSION}" "${BUILD_ARCH}"
|
|
|
|
# Add timegaps for pruning backups
|
|
RUN apk add --no-cache python3 py3-pip && \
|
|
pip install --no-cache-dir timegaps==0.1.1 && \
|
|
apk del py3-pip
|
|
|
|
ENV XDG_CONFIG_HOME=/data
|
|
|
|
COPY rootfs /
|