From bb2a88fb1505bf54282663dd74b4aa39b52db0c7 Mon Sep 17 00:00:00 2001 From: Carsten Date: Wed, 22 Apr 2026 09:23:35 +0200 Subject: [PATCH] fix(agent): bump Dockerfile Zig to 0.15.2 for burrito 1.3 Burrito 1.3 now requires Zig 0.15.2 (build fails with 'Your Zig version does not match the one Burrito requires! We need 0.15.2, you have: 0.13.0'). Zig also changed its tarball naming around 0.15: the arch now comes before 'linux' (zig-x86_64-linux-VER.tar.xz instead of zig-linux-x86_64-VER.tar.xz), so both the download URL and the post-extract symlink glob had to change. --- agent/Dockerfile.build | 10 ++++++---- .../2026-04-22-phase4-packaging-und-deployment.md | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/agent/Dockerfile.build b/agent/Dockerfile.build index 3dbbb6c..4bed0b0 100644 --- a/agent/Dockerfile.build +++ b/agent/Dockerfile.build @@ -10,10 +10,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential git ca-certificates curl xz-utils unzip 7zip \ && rm -rf /var/lib/apt/lists/* -# Zig (Burrito needs it for cross-compile) -ARG ZIG_VERSION=0.13.0 -RUN curl -fsSL https://ziglang.org/download/${ZIG_VERSION}/zig-linux-$(uname -m)-${ZIG_VERSION}.tar.xz \ - | tar -xJ -C /opt && ln -s /opt/zig-linux-*/zig /usr/local/bin/zig +# Zig (Burrito needs it for cross-compile). +# Zig 0.15.x flipped the tarball naming from zig-linux-ARCH- to zig-ARCH-linux-; +# keep the URL pattern in sync if you bump the version. +ARG ZIG_VERSION=0.15.2 +RUN curl -fsSL https://ziglang.org/download/${ZIG_VERSION}/zig-$(uname -m)-linux-${ZIG_VERSION}.tar.xz \ + | tar -xJ -C /opt && ln -s /opt/zig-*-linux-*/zig /usr/local/bin/zig WORKDIR /work/agent RUN mix local.hex --force && mix local.rebar --force diff --git a/docs/superpowers/plans/2026-04-22-phase4-packaging-und-deployment.md b/docs/superpowers/plans/2026-04-22-phase4-packaging-und-deployment.md index 711b3d9..53d9ec8 100644 --- a/docs/superpowers/plans/2026-04-22-phase4-packaging-und-deployment.md +++ b/docs/superpowers/plans/2026-04-22-phase4-packaging-und-deployment.md @@ -231,10 +231,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential git ca-certificates curl xz-utils unzip 7zip \ && rm -rf /var/lib/apt/lists/* -# Zig (Burrito needs it for cross-compile) -ARG ZIG_VERSION=0.13.0 -RUN curl -fsSL https://ziglang.org/download/${ZIG_VERSION}/zig-linux-$(uname -m)-${ZIG_VERSION}.tar.xz \ - | tar -xJ -C /opt && ln -s /opt/zig-linux-*/zig /usr/local/bin/zig +# Zig (Burrito needs it for cross-compile). +# Zig 0.15.x flipped the tarball naming from zig-linux-ARCH- to zig-ARCH-linux-; +# keep the URL pattern in sync if you bump the version. +ARG ZIG_VERSION=0.15.2 +RUN curl -fsSL https://ziglang.org/download/${ZIG_VERSION}/zig-$(uname -m)-linux-${ZIG_VERSION}.tar.xz \ + | tar -xJ -C /opt && ln -s /opt/zig-*-linux-*/zig /usr/local/bin/zig WORKDIR /work/agent RUN mix local.hex --force && mix local.rebar --force