Fix build conflict between docker environment and host - #596

Signed-off-by: Alex Chen <minecnly@gmail.com>
This commit is contained in:
Cnly 2019-01-06 21:44:05 +08:00
parent 170264404e
commit 5eb7e5e1f2
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View file

@ -18,6 +18,7 @@
/_obj
/_test
/vendor/bin
/docker/build
# Architecture specific extensions/prefixes
*.[568vq]

View file

@ -7,6 +7,8 @@ services:
build: ./
volumes:
- ..:/build
- ./build/pkg:/build/pkg
- ./build/bin:/build/bin
networks:
- internal
depends_on: