diff --git a/platform/pensando/docker-dpu-base.mk b/platform/pensando/docker-dpu-base.mk index fcceeb582bb2..f4b7c1199840 100644 --- a/platform/pensando/docker-dpu-base.mk +++ b/platform/pensando/docker-dpu-base.mk @@ -4,5 +4,7 @@ DOCKER_DPU_BASE_STEM = docker-dpu-base DOCKER_DPU_BASE = $(DOCKER_DPU_BASE_STEM).gz +$(DOCKER_DPU_BASE)_URL = https://sonicstorage.blob.core.windows.net/public/docker-dpu-base.gz + DOWNLOADED_DOCKER_IMAGES += $(DOCKER_DPU_BASE) diff --git a/slave.mk b/slave.mk index 49aa807032fb..d1f52a9473ff 100644 --- a/slave.mk +++ b/slave.mk @@ -1091,7 +1091,8 @@ $(addprefix $(TARGET_PATH)/,$(DOWNLOADED_DOCKER_IMAGES)) : $(TARGET_PATH)/%.gz : $$(%.gz_DEP_FILES) $(HEADER) - cp files/$(DOWNLOADED_DOCKER_IMAGES) target/$(DOWNLOADED_DOCKER_IMAGES) + rm -rf $@ $@.log + wget "$($*.gz_URL)" -O target/$(DOWNLOADED_DOCKER_IMAGES) $(LOG) $(FOOTER)