mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 07:22:57 +00:00
Add ROOT_CONTAINER param to Makerfile
This commit is contained in:
1
Makefile
1
Makefile
@@ -36,6 +36,7 @@ help:
|
|||||||
|
|
||||||
|
|
||||||
build/%: DOCKER_BUILD_ARGS?=
|
build/%: DOCKER_BUILD_ARGS?=
|
||||||
|
build/%: ROOT_CONTAINER?=ubuntu:22.04
|
||||||
build/%: ## build the latest image for a stack using the system's architecture
|
build/%: ## build the latest image for a stack using the system's architecture
|
||||||
docker build $(DOCKER_BUILD_ARGS) --rm --force-rm --tag "$(REGISTRY)/$(OWNER)/$(notdir $@):latest" "./images/$(notdir $@)" --build-arg REGISTRY="$(REGISTRY)" --build-arg OWNER="$(OWNER)"
|
docker build $(DOCKER_BUILD_ARGS) --rm --force-rm --tag "$(REGISTRY)/$(OWNER)/$(notdir $@):latest" "./images/$(notdir $@)" --build-arg REGISTRY="$(REGISTRY)" --build-arg OWNER="$(OWNER)"
|
||||||
@echo -n "Built image size: "
|
@echo -n "Built image size: "
|
||||||
|
Reference in New Issue
Block a user