Commit a46f77f5 authored by YannGarcia's avatar YannGarcia
Browse files

Add option to force removing Dockerfile.stfubuntu

parent b5c9cc60
......@@ -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
......
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