kenzman/ns-wolfi-go-runtime

By kenzman

Updated 27 days ago

Near Zero CVE Go Runtime base image.

Image
Security
Languages & frameworks
Operating systems
1

1.5K

kenzman/ns-wolfi-go-runtime repository overview

Secure Wolfi-GO Runtime Base Image

Build Status Signed with Cosign Image Size

This is a minimal, hardened, multi-architecture Go runtime built on Wolfi. Unlike ns-wolfi-go (which contains the full Go toolchain for building), this image is designed for production runtime only — no compiler, no toolchain.

Key Features

  • Minimal Attack Surface: Contains only wolfi-base and CA certificates
  • Multi-Arch: Native support for linux/amd64 and linux/arm64
  • Supply Chain Security: Keylessly signed with Cosign

Usage

Use in a multi-stage Dockerfile — compile with the toolchain image, run with this:

# Build stage
FROM kenzman/ns-wolfi-go:latest AS builder
WORKDIR /app
COPY . .
RUN go build -o myapp .

# Runtime stage
FROM kenzman/ns-wolfi-go-runtime:latest
COPY --from=builder /app/myapp /myapp
ENTRYPOINT ["/myapp"]

Security Verification

cosign verify \
  --certificate-identity-regexp "https://github.com/Ekene95/secops-base-images/.*" \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  kenzman/ns-wolfi-go-runtime:latest
ImagePurpose
kenzman/ns-wolfi-goFull Go toolchain for build stages
kenzman/ns-wolfi-go-runtimeMinimal runtime for production

Tag summary

Content type

Image

Digest

sha256:fc22200ce

Size

6.9 MB

Last updated

27 days ago

docker pull kenzman/ns-wolfi-go-runtime:1.25