Merge pull request #5 from jbeda/autoremove

Autoremove containers after run
master
Tim Hockin 2017-08-19 22:22:05 -07:00 committed by GitHub
commit b24f6ad182
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,7 @@ bin/$(ARCH)/$(BIN): build-dirs
@echo "building: $@"
@docker run \
-ti \
--rm \
-u $$(id -u):$$(id -g) \
-v $$(pwd)/.go:/go \
-v $$(pwd):/go/src/$(PKG) \
@ -130,6 +131,7 @@ version:
test: build-dirs
@docker run \
-ti \
--rm \
-u $$(id -u):$$(id -g) \
-v $$(pwd)/.go:/go \
-v $$(pwd):/go/src/$(PKG) \