Skip to content

Commit

Permalink
Add .dockerignore for faster docker build times
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chrisplo committed Oct 11, 2017
1 parent 58631df commit 8858181
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# we want to get the git commit SHA but not all the binary repo data
.git/objects/pack
bin/
vagrant/
docs/
scripts/gobgp
*.tar
*.bz2

0 comments on commit 8858181

Please sign in to comment.