mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-16 22:42:57 +00:00
Always load built image to make it available to docker
This commit is contained in:
2
Makefile
2
Makefile
@@ -100,7 +100,7 @@ build-all: $(foreach I, $(ALL_IMAGES), build/$(I)) ## build all stacks
|
|||||||
build-multi/%: DARGS?=
|
build-multi/%: DARGS?=
|
||||||
build-multi/%: ## build the latest image for a stack on both amd64 and arm64
|
build-multi/%: ## build the latest image for a stack on both amd64 and arm64
|
||||||
@echo "::group::Build $(OWNER)/$(notdir $@) (system's architecture)"
|
@echo "::group::Build $(OWNER)/$(notdir $@) (system's architecture)"
|
||||||
docker buildx build $(DARGS) --rm --force-rm -t $(OWNER)/$(notdir $@):latest ./$(notdir $@) --build-arg OWNER=$(OWNER)
|
docker buildx build $(DARGS) --rm --force-rm -t $(OWNER)/$(notdir $@):latest ./$(notdir $@) --build-arg OWNER=$(OWNER) --load
|
||||||
@echo -n "Built image size: "
|
@echo -n "Built image size: "
|
||||||
@docker images $(OWNER)/$(notdir $@):latest --format "{{.Size}}"
|
@docker images $(OWNER)/$(notdir $@):latest --format "{{.Size}}"
|
||||||
@echo "::endgroup::"
|
@echo "::endgroup::"
|
||||||
|
Reference in New Issue
Block a user