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.
This commit is contained in:
@@ -340,9 +340,12 @@ generate_panel:
|
|||||||
.astable_base:
|
.astable_base:
|
||||||
stage: inventree # keep stage name so existing `needs:`
|
stage: inventree # keep stage name so existing `needs:`
|
||||||
# downstream (upload_packages) still match
|
# 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:
|
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
|
# Each PCB project checks out kicad-ci as a submodule under
|
||||||
# .gitlab/ (with GIT_SUBMODULE_STRATEGY: recursive at the top of
|
# .gitlab/ (with GIT_SUBMODULE_STRATEGY: recursive at the top of
|
||||||
# this file), so scripts/upload-bom.sh is available locally —
|
# this file), so scripts/upload-bom.sh is available locally —
|
||||||
|
|||||||
Reference in New Issue
Block a user