Fix build conflict between docker environment and host - #596 (#598)

Signed-off-by: Alex Chen <minecnly@gmail.com>
This commit is contained in:
Alex Chen 2019-03-04 22:47:29 +08:00 committed by Andrew Morgan
parent 6baaf8c36c
commit 5d2d0484d1
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

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

View File

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