Tiny Alpine image with envsubst+curl+jq for K8s init containers.
- Dockerfile 100%
|
All checks were successful
Build init-envsubst image / build (push) Successful in 15s
|
||
|---|---|---|
| .forgejo/workflows | ||
| .github/workflows | ||
| Dockerfile | ||
| README.md | ||
init-envsubst
Tiny K8s init-container helper. Alpine 3.21 with envsubst, curl, jq, ca-certificates baked in.
Why
Drop-in replacement for alpine:3.X init containers that run apk add --no-cache gettext at startup. Eliminates the network dependency on dl-cdn.alpinelinux.org at pod start time.
Use
initContainers:
- name: config-init
image: ghcr.io/oddie-apps/init-envsubst:latest
command: [sh, -c, "envsubst < /src/config.yaml > /dst/config.yaml"]
Tags
latest— current alpine 3.21 buildalpine-3.21— pinned to alpine 3.21<git-sha>— immutable per commit
Build cadence
CI rebuilds on push, manual dispatch, or weekly (Mondays 06:00 UTC) to pick up alpine package patches.