From 57e665df2e2a5663dc28d2113b3713b0cdeb35bb Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Thu, 3 Jan 2019 17:59:39 -0800 Subject: [PATCH] generate-docker-compose: Clean up the container afterwards I'll never understand why this isn't the default, docker. --- generate-docker-compose | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-docker-compose b/generate-docker-compose index 8b00bb9..108d190 100755 --- a/generate-docker-compose +++ b/generate-docker-compose @@ -4,7 +4,7 @@ set -eu # We generate first, and capture the output, to avoid overwriting the file on error. # To avoid jsonnet needing to exist locally, we run it in a container. -output=$(docker run -i sparkprime/jsonnet - < docker-compose.jsonnet) +output=$(docker run --rm -i sparkprime/jsonnet - < docker-compose.jsonnet) { echo "# DO NOT EDIT THIS FILE!"