Fix messages and rebuild without cache

This commit is contained in:
andryyy
2016-12-09 20:52:19 +01:00
parent 5b9e598f6f
commit 1715a7a871
10 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
NAME="rspamd-mailcow"
build() {
docker build -t rspamd data/Dockerfiles/rspamd/.
docker build --no-cache -t rspamd data/Dockerfiles/rspamd/.
}
echo "Stopping and removing containers with name tag ${NAME}..."
@@ -16,7 +16,7 @@ if [[ ! -z $(docker ps -af "name=${NAME}" -q) ]]; then
fi
if [[ ! -z "$(docker images -q rspamd)" ]]; then
read -r -p "Found image locally. Rebuild/pull 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 rspamd