Skip to content

Commit a966c0a

Browse files
authored
Use root container arg in Makefile (#2133)
1 parent 6f74c72 commit a966c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ help:
3838
build/%: DOCKER_BUILD_ARGS?=
3939
build/%: ROOT_CONTAINER?=ubuntu:22.04
4040
build/%: ## build the latest image for a stack using the system's architecture
41-
docker build $(DOCKER_BUILD_ARGS) --rm --force-rm --tag "$(REGISTRY)/$(OWNER)/$(notdir $@):latest" "./images/$(notdir $@)" --build-arg REGISTRY="$(REGISTRY)" --build-arg OWNER="$(OWNER)"
41+
docker build $(DOCKER_BUILD_ARGS) --rm --force-rm --tag "$(REGISTRY)/$(OWNER)/$(notdir $@):latest" "./images/$(notdir $@)" --build-arg REGISTRY="$(REGISTRY)" --build-arg OWNER="$(OWNER)" --build-arg ROOT_CONTAINER="$(ROOT_CONTAINER)"
4242
@echo -n "Built image size: "
4343
@docker images "$(REGISTRY)/$(OWNER)/$(notdir $@):latest" --format "{{.Size}}"
4444
build-all: $(foreach I, $(ALL_IMAGES), build/$(I)) ## build all stacks

0 commit comments

Comments
 (0)