Commit a46f77f5 authored by YannGarcia's avatar YannGarcia
Browse files

Add option to force removing Dockerfile.stfubuntu

parent b5c9cc60
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -5,9 +5,9 @@
set -e
set -vx

if [ "$1" == "--force-stfubuntu"]
then
    doker rmi `docker images -q stfubuntu`
# Force removing stfubuntu docker image
if [ "$1" == "--force-stfubuntu" ]; then
    doker rmi `docker images -q stfubuntu` || exit 1
fi
# Check and build stfubuntu image
if [ -z `docker images -q stfubuntu` ]; then