Autoremove containers after run

master
Joe Beda 2016-09-23 16:05:01 -07:00
parent 328cae8522
commit c368f8f2e3
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,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) \
@ -122,6 +123,7 @@ version:
test: build-dirs
@docker run \
-ti \
--rm \
-u $$(id -u):$$(id -g) \
-v $$(pwd)/.go:/go \
-v $$(pwd):/go/src/$(PKG) \