From f75ad8049276408ce1aafce7016c085e307314a6 Mon Sep 17 00:00:00 2001 From: Tim Hadwen Date: Sun, 24 May 2026 10:13:24 +0000 Subject: [PATCH] Switch astable_base image to plain alpine (apk needs root) curlimages/curl runs as non-root user 'curl' which can't write the apk database. Plain alpine:3.20 boots as root, lets us apk add bash + jq + curl in one line. --- kibot-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kibot-ci.yml b/kibot-ci.yml index 9ed55c3..ba3cc57 100644 --- a/kibot-ci.yml +++ b/kibot-ci.yml @@ -340,9 +340,12 @@ generate_panel: .astable_base: stage: inventree # keep stage name so existing `needs:` # downstream (upload_packages) still match - image: curlimages/curl:8.10.1 + # Plain alpine (not curlimages/curl) — we need to apk-add bash+jq + # and curlimages/curl runs as a non-root user that can't write the + # apk db. alpine:3.20 is ~5MB, identical pull cost. + image: alpine:3.20 before_script: - - apk add --no-cache bash jq + - apk add --no-cache bash curl jq # Each PCB project checks out kicad-ci as a submodule under # .gitlab/ (with GIT_SUBMODULE_STRATEGY: recursive at the top of # this file), so scripts/upload-bom.sh is available locally —