[build]: add show docker tag (#1833)
This commit is contained in:
parent
0e5c5f2601
commit
7edbf5d6f0
4
Makefile
4
Makefile
@ -107,6 +107,10 @@ sonic-slave-bash :
|
|||||||
$(DOCKER_BUILD) ; }
|
$(DOCKER_BUILD) ; }
|
||||||
@$(DOCKER_RUN) -t $(SLAVE_IMAGE):$(SLAVE_TAG) bash
|
@$(DOCKER_RUN) -t $(SLAVE_IMAGE):$(SLAVE_TAG) bash
|
||||||
|
|
||||||
|
showtag:
|
||||||
|
@echo $(SLAVE_IMAGE):$(SLAVE_TAG)
|
||||||
|
@echo $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG)
|
||||||
|
|
||||||
init :
|
init :
|
||||||
@git submodule update --init --recursive
|
@git submodule update --init --recursive
|
||||||
@git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $$(realpath --relative-to=. $$(cut -d" " -f2 .git))" > .git'
|
@git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $$(realpath --relative-to=. $$(cut -d" " -f2 .git))" > .git'
|
||||||
|
Reference in New Issue
Block a user