Something went wrong. Try again.
A minimal OCI image with gpg and git installed hub.docker.com/r/jwkohnen/ci-verify-signatures-image
Something went wrong. Try again.
Files
- Nix 100%
README.md
ci-verify-signatures #
Minimal OCI image for the verify-signatures GitLab CI job. The image
replaces golang:latest plus a runtime apt-get install gnupg.
LLM #
This is mostly vibe-coded, but I (the HITL) read the code.
Components #
| Component | Purpose |
|---|---|
gitMinimal |
git rev-list and git verify-commit |
gnupg |
Import allowed keys and verify commit signatures |
| static busybox | POSIX shell and utilities required by GitLab Runner |
| CA certificates | TLS trust for any git over HTTPS use |
The image has no entrypoint and CMD /bin/sh; PATH is /bin and the
working directory is /data. No compiler or package manager is included.
The image is about 18 MB compressed (47 MB uncompressed).
The git binary is trimmed to the builtins used by this verifier
(rev-list and verify-commit); it is not a general-purpose git image.
Build #
nix build .#ci-verify-signatures-image
podman load -i result
Publish #
Tangled CI publishes jwkohnen/ci-verify-signatures:1 and the floating
:nix tag. Set DOCKERHUB_TOKEN as a repository secret. Pull requests
never publish.
Use #
verify-signatures:
image: jwkohnen/ci-verify-signatures:1
Keep the job script POSIX: the image shell is busybox ash.