fix: restore gcc, musl-dev, python3 and py3-yaml to the image #4
+11
-1
@@ -33,6 +33,12 @@ USER root
|
|||||||
# curl,tar -> setup-go / gitleaks download + extract their own arch-specific binaries
|
# curl,tar -> setup-go / gitleaks download + extract their own arch-specific binaries
|
||||||
# make -> zegit Makefile targets
|
# make -> zegit Makefile targets
|
||||||
# ca-certificates -> trusted roots for HTTPS to gitea/github/goproxy
|
# ca-certificates -> trusted roots for HTTPS to gitea/github/goproxy
|
||||||
|
# gcc,musl-dev -> C toolchain for cgo; `go test -race` (the Makefile test
|
||||||
|
# target) requires cgo, which needs a C compiler + libc headers
|
||||||
|
# (musl on Alpine)
|
||||||
|
# python3,py3-yaml -> the repo's own gates are Python: credentials-coverage.sh,
|
||||||
|
# validate-admission.sh and feature-lint.sh all shell out to
|
||||||
|
# python3, and credentials-coverage parses manifests with yaml
|
||||||
#
|
#
|
||||||
# Go is intentionally NOT baked in: actions/setup-go fetches the pinned version
|
# Go is intentionally NOT baked in: actions/setup-go fetches the pinned version
|
||||||
# per-run (node + tar are present), so the image needs no rebuild on Go bumps.
|
# per-run (node + tar are present), so the image needs no rebuild on Go bumps.
|
||||||
@@ -45,7 +51,11 @@ RUN apk add --no-cache \
|
|||||||
curl \
|
curl \
|
||||||
tar \
|
tar \
|
||||||
make \
|
make \
|
||||||
ca-certificates
|
ca-certificates \
|
||||||
|
gcc \
|
||||||
|
musl-dev \
|
||||||
|
python3 \
|
||||||
|
py3-yaml
|
||||||
|
|
||||||
# Match the runner pod's runAsUser (1000); keep the image non-root by default.
|
# Match the runner pod's runAsUser (1000); keep the image non-root by default.
|
||||||
USER 1000
|
USER 1000
|
||||||
Reference in new issue
Block a user