Skip to content

Commit 8858181

Browse files
committed
Add .dockerignore for faster docker build times
On OSX, the entire directory structure, including artifacts, are copied into the docker machine every docker build. This eliminates copying some large artifacts, git binary data, etc. to save a few seconds each build attempt.
1 parent 58631df commit 8858181

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.dockerignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# we want to get the git commit SHA but not all the binary repo data
2+
.git/objects/pack
3+
bin/
4+
vagrant/
5+
docs/
6+
scripts/gobgp
7+
*.tar
8+
*.bz2

0 commit comments

Comments
 (0)