From 605ff5fb780b4fdc53f044ac4a4cdbd1623a33ef Mon Sep 17 00:00:00 2001 From: James Spurin Date: Fri, 26 May 2023 10:09:25 +0100 Subject: [PATCH] cleanup containers after use, fix spacing --- icons/tools/rasterize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icons/tools/rasterize.sh b/icons/tools/rasterize.sh index a358d1dba..18a008639 100755 --- a/icons/tools/rasterize.sh +++ b/icons/tools/rasterize.sh @@ -15,7 +15,7 @@ for size in "${SIZES[@]}"; do echo "[$counter/$total] Generating $output" # Only specify the width, since we know heptagons are wider than they # are tall. The tool will automatically retain the source aspect ratio. - docker run -v $(pwd)/svg:/convertor svgconvertor:latest $svg -w $size > $output + docker run --rm -v $(pwd)/svg:/convertor svgconvertor:latest $svg -w $size > $output counter=$[$counter +1] done done