GitFred validation sample
โ api-go ยท Go / net/http
A compiled Go server in a tiny distroless image, built from this repo's
Dockerfile. If you can read this over HTTPS, GitFred cloned the repo, built
the image in-cluster with kaniko, pushed it to the registry, and rolled it out behind TLS.
What's in the repo
๐น main.go net/http server
๐ go.mod no external deps
๐ณ Dockerfile multi-stage โ distroless :nonroot
How it gets to your browser
๐ฆ GitHub repo Go source + Dockerfile
โ
๐จ multi-stage build compile, then copy the binary into distroless
โ
๐ข static binary pod distroless nonroot, injected $PORT
โ
๐ HTTPS auto TLS at <slug>.gitfred.com
What this proves
A compiled language on the Dockerfile build path (multi-stage build)
A tiny distroless runtime image (nonroot variant)
A dynamic server consuming the injected $PORT (not a fixed port)
Readiness/liveness probes pass on /
Live runtime values
$PORT (injected by GitFred) 8080
Pod hostname web-7bd76d9b6f-qmxgt
Builder dockerfile
Raw JSON for scripts: /api ยท Source: rave-altfred/gitfred-sample-api-go