Files
dotnet-packaging/test/docker/_scripts/removeimage.sh
2018-08-31 14:46:16 +00:00

3 lines
90 B
Bash

if [ ! -z `docker images "$IMAGE_NAME" -q` ]; then
docker rmi -f $IMAGE_NAME:latest
fi