Skip to content

Commit ce5aafb

Browse files
authored
Add .dockerignore (#21753)
There's a lot of work that has been done on `.dockerignore`: - #329 - #2927 - #8338 And finally, it has been deleted by #2927. This is a copy of the `.gitignore`. Creating a soft link is more elegant, but it may cause trouble to the Windows users.
1 parent 99688ef commit ce5aafb

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed

.dockerignore

+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# Compiled Object files, Static and Dynamic libs (Shared Objects)
2+
*.o
3+
*.a
4+
*.so
5+
6+
# Folders
7+
_obj
8+
_test
9+
10+
# IntelliJ
11+
.idea
12+
# Goland's output filename can not be set manually
13+
/go_build_*
14+
15+
# MS VSCode
16+
.vscode
17+
__debug_bin
18+
19+
# Architecture specific extensions/prefixes
20+
*.[568vq]
21+
[568vq].out
22+
23+
*.cgo1.go
24+
*.cgo2.c
25+
_cgo_defun.c
26+
_cgo_gotypes.go
27+
_cgo_export.*
28+
29+
_testmain.go
30+
31+
*.exe
32+
*.test
33+
*.prof
34+
35+
*coverage.out
36+
coverage.all
37+
cpu.out
38+
39+
/modules/migration/bindata.go
40+
/modules/migration/bindata.go.hash
41+
/modules/options/bindata.go
42+
/modules/options/bindata.go.hash
43+
/modules/public/bindata.go
44+
/modules/public/bindata.go.hash
45+
/modules/templates/bindata.go
46+
/modules/templates/bindata.go.hash
47+
48+
*.db
49+
*.log
50+
51+
/gitea
52+
/gitea-vet
53+
/debug
54+
/integrations.test
55+
56+
/bin
57+
/dist
58+
/custom/*
59+
!/custom/conf
60+
/custom/conf/*
61+
!/custom/conf/app.example.ini
62+
/data
63+
/indexers
64+
/log
65+
/public/img/avatar
66+
/tests/integration/gitea-integration-*
67+
/tests/integration/indexers-*
68+
/tests/e2e/gitea-e2e-*
69+
/tests/e2e/indexers-*
70+
/tests/e2e/reports
71+
/tests/e2e/test-artifacts
72+
/tests/e2e/test-snapshots
73+
/tests/*.ini
74+
/node_modules
75+
/yarn.lock
76+
/yarn-error.log
77+
/npm-debug.log*
78+
/public/js
79+
/public/serviceworker.js
80+
/public/css
81+
/public/fonts
82+
/public/img/webpack
83+
/vendor
84+
/web_src/fomantic/node_modules
85+
/web_src/fomantic/build/*
86+
!/web_src/fomantic/build/semantic.js
87+
!/web_src/fomantic/build/semantic.css
88+
!/web_src/fomantic/build/themes
89+
/web_src/fomantic/build/themes/*
90+
!/web_src/fomantic/build/themes/default
91+
/web_src/fomantic/build/themes/default/assets/*
92+
!/web_src/fomantic/build/themes/default/assets/fonts
93+
/web_src/fomantic/build/themes/default/assets/fonts/*
94+
!/web_src/fomantic/build/themes/default/assets/fonts/icons.woff2
95+
!/web_src/fomantic/build/themes/default/assets/fonts/outline-icons.woff2
96+
/VERSION
97+
/.air
98+
/.go-licenses
99+
100+
# Snapcraft
101+
snap/.snapcraft/
102+
parts/
103+
stage/
104+
prime/
105+
*.snap
106+
*.snap-build
107+
*_source.tar.bz2
108+
.DS_Store
109+
110+
# Make evidence files
111+
/.make_evidence
112+
113+
# Manpage
114+
/man

0 commit comments

Comments
 (0)