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

Add option to force removing Dockerfile.stfubuntu

parent b9750076
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -7,7 +7,7 @@ set -vx


# Force removing stfubuntu docker image
# Force removing stfubuntu docker image
if [ "$1" == "--force-stfubuntu" ]; then
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
        docker rmi --force `docker images -q stfubuntu` || exit 1
    fi
    fi
fi
fi