fix: add hadolint ignore DL3018 for apk add
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

This commit is contained in:
2026-06-08 19:02:26 -04:00
parent 0969529fc5
commit 1f6af1d401
+2 -1
View File
@@ -3,9 +3,10 @@ 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
mkdir -p /data