[Build]: add build target to build sonic-slave-base (#4373)
This is to build sonic-slave-base target for user to download Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
48acdf882e
commit
2beca91c99
@ -214,7 +214,7 @@ ifneq ($(BLDENV), )
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@$(OVERLAY_MODULE_CHECK)
|
@$(OVERLAY_MODULE_CHECK)
|
||||||
|
|
||||||
@docker inspect --type image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) &> /dev/null || \
|
@docker inspect --type image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) &> /dev/null || \
|
||||||
{ echo Image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) not found. Building... ; \
|
{ echo Image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) not found. Building... ; \
|
||||||
$(DOCKER_BASE_BUILD) ; }
|
$(DOCKER_BASE_BUILD) ; }
|
||||||
@ -231,6 +231,9 @@ else
|
|||||||
@$(DOCKER_RUN) $(SLAVE_IMAGE):$(SLAVE_TAG) $(SONIC_BUILD_INSTRUCTION) $@
|
@$(DOCKER_RUN) $(SLAVE_IMAGE):$(SLAVE_TAG) $(SONIC_BUILD_INSTRUCTION) $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
sonic-slave-base-build :
|
||||||
|
$(DOCKER_BASE_BUILD)
|
||||||
|
|
||||||
sonic-slave-build :
|
sonic-slave-build :
|
||||||
$(DOCKER_BASE_BUILD)
|
$(DOCKER_BASE_BUILD)
|
||||||
$(DOCKER_BUILD)
|
$(DOCKER_BUILD)
|
||||||
|
Reference in New Issue
Block a user