Do you hate insecure base images? Sure, we all do..
I built a thing: secure-base-images. It’s a minimal, security-hardened Docker base image for static Go binaries.

Most Docker images are bloated. Shells, package managers, and a ton of dependencies you don’t need. That’s attack surface your security team loves to talk about, and it drives fast pipeline guys like me insane. For a static Go tool you literally just need the binary and some certs.
So this one is the binary and some certs. No shell, no package manager, runs as uid 65532, amd64 and arm64. Three lines in ya Dockerfile:
FROM swantron/secure-base:latest
COPY myapp /app
ENTRYPOINT ["/app"]
Push a tag, GitHub Actions builds it, scans it with Trivy, and publishes to Docker Hub if it’s clean (it is.)

Under the Hood
The workflow does the heavy lifting:
- Runs integration tests (non-root user, no shell, CA certs present, etc.)
- Builds the image
- Scans with Trivy - build fails on CRITICAL/HIGH
- Multi-platform build (amd64/arm64)
- Pushes to Docker Hub on release tags

Source: https://github.com/swantron/secure-base-images
Docker Hub: swantron/secure-base:latest
The QUICKSTART.md gets you from zero to published in about 10 minutes.