Add eksctl and aws-iam-authenticator to the runner image #6
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/aws-cli-tools-40ddcb"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Adds the EKS-facing AWS toolchain to the runner image:
v0.229.0v0.7.18Both are installed from their upstream release archives following the existing OpenTofu pattern: pinned versions, verified against each project's published SHA256 checksums file, so every PHP variant and both arches (amd64 + arm64) get the same build. Both are static Go binaries and run on musl.
Why not the AWS CLI itself?
awsis already present — it ships via apk (AWS_PACKAGES), which gives aws-cli v2 on Alpine 3.19+ (php8.2–8.5) and v1 on the older php7.4/8.1 "life-support" bases. Verified working in the built image (aws-cli/2.27.25on php8.4).Why no session-manager-plugin?
Deliberately omitted. AWS distributes it only as a glibc-linked binary (needs
libresolv.so.2etc.), so it will not run on Alpine's musl without bundling a full glibc — the same incompatibility that keeps the official AWS CLI v2 installer off Alpine.gcompatdoesn't cover it. Not worth the fragility for a runner image.Verification
Built end-to-end via
docker buildx bakeand smoke-tested the binaries in the resulting image:php7.4(Alpine 3.15, amd64 under emulation) — builds green, checksums OKphp8.4(arm64) — builds green;aws,eksctl,aws-iam-authenticator,tofuall run:🤖 Generated with Claude Code