Added option for container to automatically remove itself after it finishes.
This commit is contained in:
parent
a162727c8c
commit
75f44dedcc
1 changed files with 1 additions and 1 deletions
|
@ -8,6 +8,6 @@ if [ $? -ne 0 ]; then
|
|||
fi
|
||||
|
||||
# Since we run our docker compose setup in bridge mode to be able to run on MacOS, we have to launch a Docker container within the bridge network in order to avoid any routing issues.
|
||||
docker run -t -v $(pwd):/go/src/github.com/paypal/gorealis --network gorealis_aurora_cluster golang:1.10-stretch go test -v github.com/paypal/gorealis $@
|
||||
docker run --rm -t -v $(pwd):/go/src/github.com/paypal/gorealis --network gorealis_aurora_cluster golang:1.10-stretch go test -v github.com/paypal/gorealis $@
|
||||
|
||||
docker-compose down
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue