Fix messages and rebuild without cache
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ if [[ ! -z $(docker ps -af "name=${NAME}" -q) ]]; then
|
||||
fi
|
||||
|
||||
if [[ ! -z "$(docker images -q postfix)" ]]; then
|
||||
read -r -p "Found image locally. Rebuild anyway? [y/N] " response
|
||||
read -r -p "Found image locally. Delete local and rebuild without cache anyway? [y/N] " response
|
||||
response=${response,,}
|
||||
if [[ $response =~ ^(yes|y)$ ]]; then
|
||||
docker rmi postfix
|
||||
|
||||
Reference in New Issue
Block a user