mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
27 lines
689 B
Plaintext
27 lines
689 B
Plaintext
# Allowlist: exclude everything, then add back only what Go Dockerfiles need.
|
|
# Python images use context: python/ and are unaffected by this file.
|
|
#
|
|
# Needed by the 8 Go image builds (context: .):
|
|
# go.mod, go.sum - module deps (6 main-module Dockerfiles + tf2openapi)
|
|
# cmd/ - service entrypoints
|
|
# pkg/ - shared Go library code
|
|
# tools/ - tf2openapi build
|
|
# qpext/ - queue-proxy extension (has its own go.mod)
|
|
# LICENSE - third-party license checks
|
|
|
|
# Exclude everything by default
|
|
*
|
|
|
|
# Go module files
|
|
!go.mod
|
|
!go.sum
|
|
|
|
# Source directories
|
|
!cmd/
|
|
!pkg/
|
|
!tools/
|
|
!qpext/
|
|
|
|
# License (used by go-licenses in all builds)
|
|
!LICENSE
|