Files
docker-duplicacy/Dockerfile
renovate 58ed7a00d3
Docker Build and Push / lint (pull_request) Successful in 7s
Docker Build and Push / build (pull_request) Successful in 26s
Docker Build and Push / test (pull_request) Successful in 12s
Docker Build and Push / push (pull_request) Has been skipped
chore(deps): update alpine docker tag to v3.24
2026-06-09 20:54:59 +00:00

12 lines
477 B
Docker

FROM alpine:3.24
ARG VERSION=3.1.0
ARG TARGETARCH=x64
# hadolint ignore=DL3018
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}" && \
chmod 777 /usr/local/bin/duplicacy && \
mkdir -p /config/scripts && \
mkdir -p /config/cache && \
mkdir -p /data