Skip to content

Commit ebcb01e

Browse files
committed
chore: by default ignore all files in dockerignore
ignore all files in docker builds by default and opt in for known files and directories which are used in the docker build
1 parent ce5074a commit ebcb01e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.dockerignore

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
.git
2-
.github
3-
.vscode
4-
bin/
5-
config/
6-
hack/
7-
docs/
8-
templates/
9-
scripts/
10-
**/.md
11-
tilt-provider.json
1+
# Ignore everything
2+
**
3+
4+
# Allow only these
5+
!/api/**
6+
!/cloud/**
7+
!/controllers/**
8+
!/pkg/**
9+
!/main.go
10+
!/go.mod
11+
!/go.sum

0 commit comments

Comments
 (0)