There was an error while loading. Please reload this page.
1 parent a7af29a commit 2a1fc40Copy full SHA for 2a1fc40
1 file changed
Dockerfile
@@ -15,8 +15,7 @@ RUN apt-get update -y && \
15
apt-get clean && rm -rf /var/lib/apt/lists/*
16
17
# Download and verify the zentinel binary (used for bundle validation)
18
-RUN ARCH=$(case "${TARGETARCH}" in arm64) echo "aarch64";; *) echo "x86_64";; esac) && \
19
- TARBALL="zentinel-${ZENTINEL_VERSION}-linux-${ARCH}.tar.gz" && \
+RUN TARBALL="zentinel-${ZENTINEL_VERSION}-linux-${TARGETARCH}.tar.gz" && \
20
URL="https://github.com/zentinelproxy/zentinel/releases/download/${ZENTINEL_VERSION}/${TARBALL}" && \
21
curl -fSL "${URL}" -o "/tmp/${TARBALL}" && \
22
curl -fSL "${URL}.sha256" -o "/tmp/${TARBALL}.sha256" && \
0 commit comments