diff --git a/Makefile.work b/Makefile.work index ef9b5570ac..f7098711dd 100644 --- a/Makefile.work +++ b/Makefile.work @@ -280,12 +280,14 @@ sonic-build-hooks: sonic-slave-base-build : sonic-build-hooks @$(OVERLAY_MODULE_CHECK) + @echo Checking sonic-slave-base image: $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) @docker inspect --type image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) &> /dev/null || \ { echo Image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) not found. Building... ; \ $(DOCKER_BASE_BUILD) ; \ scripts/collect_docker_version_files.sh $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) target ; } sonic-slave-build : sonic-slave-base-build + @echo Checking sonic-slave image: $(SLAVE_IMAGE):$(SLAVE_TAG) @docker inspect --type image $(SLAVE_IMAGE):$(SLAVE_TAG) &> /dev/null || \ { echo Image $(SLAVE_IMAGE):$(SLAVE_TAG) not found. Building... ; \ $(DOCKER_BUILD) ; }