# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
# Ignore everything by default and re-include only needed files
**

# Re-include Go source files (but not *_test.go). This tool chain builds
# with podman (confirmed 2026-10-01: kind/docker here are podman-backed),
# so the generic !**/*.go pattern the scaffold warns about doesn't actually
# work -- buildah/containers#6417, which this comment already predicted --
# and `docker build` here silently built from an empty source tree
# ("package cmd/main.go is not in std") until this was pinned down.
# Re-including directories by name, as the scaffold's own comment suggested
# doing if this happened, is what actually works.
!cmd
!api
!internal
**/*_test.go

# Re-include Go module files
!go.mod
!go.sum
