0d79461cf9
Docker Build and Push / lint (push) Successful in 7s
Docker Build and Push / lint (pull_request) Successful in 5s
Docker Build and Push / build (push) Successful in 20s
Docker Build and Push / build (pull_request) Successful in 31s
Docker Build and Push / test (push) Successful in 18s
Docker Build and Push / test (pull_request) Successful in 18s
Docker Build and Push / push (pull_request) Has been skipped
Docker Build and Push / push (push) Successful in 22s
12 lines
477 B
Docker
12 lines
477 B
Docker
FROM alpine:3.23
|
|
|
|
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 |