Files
docker-duplicacy/Dockerfile
T
cloudix_mcp_server 1f6af1d401
Docker Build and Push / lint (pull_request) Failing after 12m37s
Docker Build and Push / lint (push) Failing after 12m44s
Docker Build and Push / build (pull_request) Has been skipped
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / build (push) Has been skipped
Docker Build and Push / test (push) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
Docker Build and Push / push (push) Has been skipped
fix: add hadolint ignore DL3018 for apk add
2026-06-08 19:02:26 -04:00

12 lines
478 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