feat: create multi-stage Dockerfile for distroless production image #63
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Roadmap Reference
Phase 3, Section 3.1 — Dockerfile
What to do
Create a Dockerfile at the repo root using a two-stage build:
Stage 1 — builder:
Stage 2 — runtime:
Additional requirements:
Acceptance Criteria
Closing as implemented.
Dockerfileon master has:golang:1.22-alpinebuilder withCGO_ENABLED=0static buildgcr.io/distroless/static:nonrootruntime image