Lab tofu-controller runner image (stock tf-runner + bash curl jq coreutils; later provider mirror)
- Dockerfile 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| Dockerfile | ||
| README.md | ||
| Taskfile.yml | ||
tf-runner-image
The tofu-controller runner image the lab uses where the stock one falls short.
- Base:
ghcr.io/flux-iac/tf-runner:v0.16.6, pinned by digest in the Dockerfile. Alpine 3.23, OpenTofu 1.12.1, user 65532, entrypointtini -- tf-runner, all unchanged. - Added:
bash,curl,jq,coreutils(GNUdate). The RouterOS rollback fuse (lab/iac#74) runs shell scripts from Terraform that talk to the router's REST API and parse its JSON replies. - Planned: the providers as a filesystem mirror for the air-gapped bundle (lab/iac#74 docs: ship code and this image, never plans).
Published as harbor.animeteamspeak.moe/library/tf-runner:<base>-lab.<n>.
Only the Terraform objects that need it set it, through
spec.runnerPodTemplate.spec.image (lab/clusters clusters/mini/iac/).
Build and push
No CI yet. From this directory, after docker login harbor.animeteamspeak.moe:
task push # builds, checks the tools, pushes TAG (Taskfile.yml)
Bump TAG in Taskfile.yml for every rebuild; never overwrite a pushed tag.