diff --git a/Dockerfile b/Dockerfile index 83f9d9c..cee3ead 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ RUN apk add --no-cache \ ARG TARGETARCH ARG DUF_VERSION=0.9.1 RUN DUF_ARCH="${TARGETARCH}" \ - && [ "${DUF_ARCH}" = "amd64" ] && DUF_ARCH="x86_64" \ + && if [ "${DUF_ARCH}" = "amd64" ]; then DUF_ARCH="x86_64"; fi \ && curl -fsSL "https://github.com/muesli/duf/releases/download/v${DUF_VERSION}/duf_${DUF_VERSION}_linux_${DUF_ARCH}.tar.gz" \ | tar xz -C /usr/local/bin duf