Add --rm to docker run (#3871)

This commit is contained in:
Chris Smith 2020-02-06 09:32:33 -08:00 committed by GitHub
parent 0dbbd919b8
commit 63be1b5d21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,6 +143,8 @@ func testRuntimeWorksInContainer(t *testing.T, runtime, container string) {
"--volume", fmt.Sprintf("%s:/src", e.CWD),
// Set working directory when running the container.
"--workdir", "/src",
// Cleanup the container on shutdown.
"--rm",
// Container to run.
container,
// Flags to the container's entry point (`pulumi`).