diff options
author | 2016-12-13 18:35:18 +0100 | |
---|---|---|
committer | 2017-01-18 20:43:20 +0000 | |
commit | c3618ae5ea5a9e24f7e07ba317df8e1713d95523 (patch) | |
tree | 489f41dc4aa42e8e471f85b76784c82b78d0ab43 | |
parent | 2540261a791c04e86044c4918b232434d9d7af60 (diff) |
build/Makefile: deepclean: make grep more strictstable/colorado
Check if the docker image is named only 'ubuntu' and tag 14.04
JIRA: FUEL-245
Change-Id: I4dc58a295925cc64a1d5c52393e1c172d42f8a6e
Signed-off-by: Anders Roxell <anders.roxell@enea.com>
(cherry picked from commit ba2b4510c4c90e75927d90c976ba2afec97f0228)
-rw-r--r-- | build/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile b/build/Makefile index b7605684e..1d1b74022 100644 --- a/build/Makefile +++ b/build/Makefile @@ -188,7 +188,7 @@ deepclean: clean clean-cache docker rmi opnfv.org/ubuntu-builder:14.04 &>/dev/null || exit 0 docker rmi opnfv.org/ubuntu-builder:latest &>/dev/null || exit 0 docker rmi ubuntu:14.04 &>/dev/null || exit 0 - @if docker images | grep -q "ubuntu *14.04"; then \ + @if docker images | grep -q "^ubuntu *14.04"; then \ echo "Error: ubuntu:14.04 still present!"; \ exit 1; \ fi |