Commit 7813c7bf authored by YannGarcia's avatar YannGarcia
Browse files

Add option to force removing Dockerfile.stfubuntu

parent b9750076
......@@ -7,7 +7,7 @@ set -vx
# Force removing stfubuntu docker image
if [ "$1" == "--force-stfubuntu" ]; then
if [ -z `docker images -q stfubuntu` ]; then
if [ -n `docker images -q stfubuntu` ]; then
docker rmi --force `docker images -q stfubuntu` || exit 1
fi
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment