12 lines
454 B
Docker
12 lines
454 B
Docker
|
|
FROM alpine:3.18
|
||
|
|
|
||
|
|
ARG VERSION=3.1.0
|
||
|
|
ARG TARGETARCH=x64
|
||
|
|
|
||
|
|
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
|