ci: add python3 to infra-ci image — unblocks scripts/tg auth-comment check

Commit 0712a1b6 added a Python-based ingress_factory auth-comment check
that runs from scripts/tg on every plan/apply. The CI image
(forgejo.viktorbarzin.me/viktor/infra-ci) doesn't ship python3, so every
CI apply has been failing since with:

  env: can't execute 'python3': No such file or directory

Adding python3 to the apk install line restores CI applies for all stacks.
The build-ci-image.yml pipeline auto-fires on this commit (path filter
on ci/Dockerfile), so the rebuild + retag happens without manual action.
This commit is contained in:
Viktor Barzin 2026-05-11 19:26:55 +00:00
parent f10784ddb6
commit b3c1631597

View file

@ -8,8 +8,10 @@ ARG KUBECTL_VERSION=1.34.0
ARG VAULT_VERSION=1.18.1
# Install system packages (single layer)
# python3: required by scripts/check-ingress-auth-comments.py, invoked
# by scripts/tg before every plan/apply.
RUN apk add --no-cache \
bash curl git git-crypt jq openssh-client openssl unzip \
bash curl git git-crypt jq openssh-client openssl python3 unzip \
&& rm -rf /var/cache/apk/*
# Terraform