Merge pull request #5552 from ferringb/dockerignore
Some checks are pending
Create and publish a Docker image / build-and-push-image (push) Waiting to run
Create and publish a Docker image / provenance (push) Blocked by required conditions
test / Linux Go 1.23.x (push) Waiting to run
test / Linux Go 1.24.x (push) Waiting to run
test / Linux (race) Go 1.25.x (push) Waiting to run
test / Windows Go 1.25.x (push) Waiting to run
test / macOS Go 1.25.x (push) Waiting to run
test / Linux Go 1.25.x (push) Waiting to run
test / Cross Compile for subset 0/3 (push) Waiting to run
test / Cross Compile for subset 1/3 (push) Waiting to run
test / Cross Compile for subset 2/3 (push) Waiting to run
test / lint (push) Waiting to run
test / Analyze results (push) Blocked by required conditions
test / docker (push) Waiting to run

add a dockerignore
This commit is contained in:
Michael Eischer 2025-11-16 12:00:52 +01:00 committed by GitHub
commit e3b7bbd020
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

11
.dockerignore Normal file
View file

@ -0,0 +1,11 @@
# Actual layer caching is impossible due to .git, but
# that must be included for provenance reasons. These ignores
# are strictly for hygenic build.
*
!/*.go
!/go.*
!/cmd/*
!/internal/*
!/helpers/*
!/VERSION
!/.git/