Files

12 lines
477 B
Docker
Raw Permalink Normal View History

FROM alpine:3.24
2023-06-05 19:49:31 -04:00
ARG VERSION=3.1.0
ARG TARGETARCH=x64
2026-06-08 19:02:26 -04:00
# hadolint ignore=DL3018
2023-06-05 19:49:31 -04:00
RUN apk add --no-cache curl && \
if [ "$TARGETARCH" = "amd64" ]; then export TARGETARCH="x64"; fi; wget --no-verbose -O /usr/local/bin/duplicacy "https://github.com/gilbertchen/duplicacy/releases/download/v${VERSION}/duplicacy_linux_${TARGETARCH}_${VERSION}" && \
2023-06-05 19:49:31 -04:00
chmod 777 /usr/local/bin/duplicacy && \
mkdir -p /config/scripts && \
mkdir -p /config/cache && \
2026-06-08 19:02:26 -04:00
mkdir -p /data