From ba44def37b77089f86181a3428b12a1c291ea698 Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Tue, 25 Aug 2026 09:14:25 +0000 Subject: [PATCH] fix zero-gravity doubled-v: add VERSION normalization to extraction RUN step The previous commit (7cbd0532) added VERSION normalization to the DOWNLOAD RUN step but forgot to add it to the EXTRACTION RUN step. Each Dockerfile RUN is a fresh shell, so the extraction step fails with 'VERSION: unbound variable' when it tries to use ${VERSION} in the SRC variable. Fix: add VERSION="${ZERO_GRAVITY_VERSION#v}"; to the extraction RUN step (line 73) so it defines VERSION before using it. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- zero-gravity/zerog.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/zero-gravity/zerog.Dockerfile b/zero-gravity/zerog.Dockerfile index aa14c6fc..a577d3ec 100644 --- a/zero-gravity/zerog.Dockerfile +++ b/zero-gravity/zerog.Dockerfile @@ -70,6 +70,7 @@ RUN set -eu; \ # version, nor the layout. Assert on the binaries here so the NEXT upstream reshuffle # reports itself at the point of failure instead. RUN set -eu; \ + VERSION="${ZERO_GRAVITY_VERSION#v}"; \ SRC="/tmp/${ZERO_GRAVITY_CHAIN_SPEC}-v${VERSION}"; \ tar -xzf "${SRC}.tar.gz" -C /tmp; \ mkdir -p /0g; \