generate-docker-compose: Clean up the container afterwards

I'll never understand why this isn't the default, docker.
pull/23/head
Mike Lang 6 years ago
parent c8cc4a68a0
commit 57e665df2e

@ -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!"

Loading…
Cancel
Save