Skip to content

Commit 2a1fc40

Browse files
fix: use TARGETARCH directly for zentinel binary download
Release assets use amd64/arm64 which matches Docker's TARGETARCH directly — no arch remapping needed.
1 parent a7af29a commit 2a1fc40

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ RUN apt-get update -y && \
1515
apt-get clean && rm -rf /var/lib/apt/lists/*
1616

1717
# 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" && \
18+
RUN TARBALL="zentinel-${ZENTINEL_VERSION}-linux-${TARGETARCH}.tar.gz" && \
2019
URL="https://github.com/zentinelproxy/zentinel/releases/download/${ZENTINEL_VERSION}/${TARBALL}" && \
2120
curl -fSL "${URL}" -o "/tmp/${TARBALL}" && \
2221
curl -fSL "${URL}.sha256" -o "/tmp/${TARBALL}.sha256" && \

0 commit comments

Comments
 (0)