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
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:
+2
-1
@@ -3,9 +3,10 @@ FROM alpine:3.23
|
|||||||
ARG VERSION=3.1.0
|
ARG VERSION=3.1.0
|
||||||
ARG TARGETARCH=x64
|
ARG TARGETARCH=x64
|
||||||
|
|
||||||
|
# hadolint ignore=DL3018
|
||||||
RUN apk add --no-cache curl && \
|
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}" && \
|
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 && \
|
chmod 777 /usr/local/bin/duplicacy && \
|
||||||
mkdir -p /config/scripts && \
|
mkdir -p /config/scripts && \
|
||||||
mkdir -p /config/cache && \
|
mkdir -p /config/cache && \
|
||||||
mkdir -p /data
|
mkdir -p /data
|
||||||
Reference in New Issue
Block a user