From 9f856fdb130bace6a78efa1c6175bfd59beb2b3d Mon Sep 17 00:00:00 2001 From: George Kastanis Date: Wed, 15 Jul 2026 14:42:23 +0300 Subject: [PATCH] fix: install glab from official release .deb (wakemeops pool 404s) The wakemeops apt repo's index lists glab_1.108.0-1~ops2deb_amd64.deb but the pool object is missing (S3 NoSuchKey), so 'apt install -y glab' fails and every web-image build - and therefore every fresh install - breaks. Fetch the latest official release .deb from gitlab.com instead, with the architecture detected via dpkg so the existing ARM64 support is kept. Co-Authored-By: Claude Fable 5 --- web-build/Dockerfile.canvas | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/web-build/Dockerfile.canvas b/web-build/Dockerfile.canvas index abca2fc..4aa17e1 100644 --- a/web-build/Dockerfile.canvas +++ b/web-build/Dockerfile.canvas @@ -5,10 +5,14 @@ RUN npm install -g @anthropic-ai/claude-code \ && sudo -u ${username} mkdir -p /home/${username}/bin \ && ln -sf "$(which claude)" /home/${username}/bin/claude -# Install glab CLI. -RUN curl -sSL "https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository" | bash \ - && apt install -y glab \ - && apt-get clean && rm -rf /var/lib/apt/lists/* +# Install glab CLI from the official gitlab.com release .deb. (The wakemeops +# apt pool previously used here 404s on its indexed glab package, failing +# every image build.) +RUN GLAB_ARCH=$(dpkg --print-architecture) \ + && GLAB_VER=$(curl -s "https://gitlab.com/api/v4/projects/gitlab-org%2Fcli/releases" | grep -oP '"tag_name":"v\K[0-9.]+' | head -1) \ + && curl -sL "https://gitlab.com/gitlab-org/cli/-/releases/v${GLAB_VER}/downloads/glab_${GLAB_VER}_linux_${GLAB_ARCH}.deb" -o /tmp/glab.deb \ + && apt-get update && apt install -y /tmp/glab.deb \ + && rm /tmp/glab.deb && apt-get clean && rm -rf /var/lib/apt/lists/* # Install agent-browser globally. # Chrome for Testing does not provide ARM64 Linux builds, so install Chromium