From 7edbf5d6f0f76008c2d6cbb27ee870a830294361 Mon Sep 17 00:00:00 2001 From: lguohan Date: Sun, 1 Jul 2018 09:46:42 -0700 Subject: [PATCH] [build]: add show docker tag (#1833) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c954402ab312..347041e1b12a 100644 --- a/Makefile +++ b/Makefile @@ -107,6 +107,10 @@ sonic-slave-bash : $(DOCKER_BUILD) ; } @$(DOCKER_RUN) -t $(SLAVE_IMAGE):$(SLAVE_TAG) bash +showtag: + @echo $(SLAVE_IMAGE):$(SLAVE_TAG) + @echo $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) + init : @git submodule update --init --recursive @git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $$(realpath --relative-to=. $$(cut -d" " -f2 .git))" > .git'