diff --git a/runTests.sh b/runTests.sh index 42f07ba..e213972 100755 --- a/runTests.sh +++ b/runTests.sh @@ -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