1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-07 23:35:16 +00:00
terraform-playground/pymage/internal/build
Cursor Agent a8e0c59657
build: detect Chainguard base Python version from apko.json
When the base doesn't set PYTHON_VERSION (Chainguard/Wolfi images), fall back to
reading /etc/apko.json from the top-most layer and parsing the python-X.Y
package, so --python validation works for those bases too. Env still takes
precedence. Adds tests for the apko fallback and env precedence.

Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 16:16:20 +00:00
..
build.go build/cli: layer cache + parallel wheel layers, secret deny-list, env validation, docs 2026-06-10 14:07:25 +00:00
build_test.go build: detect Chainguard base Python version from apko.json 2026-06-10 16:16:20 +00:00
resolve.go build: detect Chainguard base Python version from apko.json 2026-06-10 16:16:20 +00:00