-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.dockerignore
More file actions
110 lines (92 loc) · 2.91 KB
/
Copy path.dockerignore
File metadata and controls
110 lines (92 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# Build artifacts
bin/
# Exception: a manual `docker build -f Dockerfile.server-devloop .` copies the
# host-compiled binary in; without this negation that COPY would fail. (Tilt
# itself uses docker_build(only=['./bin/tmiserver']) and does NOT depend on this.)
# When bin/tmiserver exists it also lands in other images' throwaway builder
# layers via COPY . . — harmless like the .docker-deps note below; the final
# multi-stage images are unaffected.
!bin/tmiserver
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool
*.out
# Dependency directories
vendor/
# NOTE: Do NOT ignore .docker-deps/ here. The build scripts stage the
# tmi-client Go module into .docker-deps/tmi-client/ and every Dockerfile
# pulls it in via an explicit `COPY .docker-deps/tmi-client/ /tmi-client/`.
# .dockerignore filters the entire build context, so ignoring .docker-deps/
# would strip the staged module out and break that COPY. The directory only
# lands in the throwaway builder stage (the final image copies just the
# binary), so the slight duplication via `COPY . .` is harmless.
# Go workspace file
go.work
# IDE files
.vscode/
.idea/
*.swp
*.swo
*~
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Log files
*.log
logs/
# Environment files (we copy .env.example explicitly)
.env
.env.local
.env.*.local
# Git
.git/
.gitignore
# Documentation that's not needed in container
*.md
docs/
# Docker files themselves
Dockerfile*
.dockerignore
# Scripts not needed in container
scripts/
make-containers-*.sh
# Test files
*_test.go
# Build artifacts / test outputs (keep build context small)
test/outputs/
# test/results/ holds one ~1.4 GB SQLite database per CATS run. It replaced
# test/outputs/ in the cats-plugin migration but the exclusion was never
# carried over, so the build context had grown to 14 GB.
test/results/
# test/postman/test-results/ is newman run output (~400 MB), already gitignored
# and regenerable -- same class as test/results/ above. The collections
# themselves are tracked source and stay in the context.
test/postman/test-results/
security-reports/
*.backup
# Infrastructure-as-code. No Dockerfile references terraform/, and `terraform
# init` caches provider binaries under .terraform/ -- 4.3 GB across eight
# directories on a machine that has init'd every environment (aws-public alone
# is 1.6 GB). That was enough to fail `docker build` outright with "no space
# left on device" while copying terraform-provider-aws into the context.
# Excluding the whole tree, not just **/.terraform/, keeps it from regrowing
# the next time a new environment is init'd.
terraform/
# Node dependencies: regenerable from package-lock.json and not referenced by
# any Dockerfile (no image runs a JS build).
node_modules/
# Coverage and tooling caches -- regenerable test output, same rationale as
# test/outputs/ above.
coverage/
coverage_html/
.dedupe/