Autoremove containers after run
parent
328cae8522
commit
c368f8f2e3
2
Makefile
2
Makefile
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue