File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,18 @@ help:
35
35
36
36
37
37
38
+ # Note that `ROOT_IMAGE` and `PYTHON_VERSION` arguments are only applicable to `docker-stacks-foundation` image
38
39
build/% : DOCKER_BUILD_ARGS?=
39
40
build/% : ROOT_IMAGE?=ubuntu:24.04
41
+ build/% : PYTHON_VERSION?=3.12
40
42
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) " --build-arg ROOT_IMAGE=" $( ROOT_IMAGE) "
43
+ docker build $(DOCKER_BUILD_ARGS ) --rm --force-rm \
44
+ --tag " $( REGISTRY) /$( OWNER) /$( notdir $@ ) :latest" \
45
+ " ./images/$( notdir $@ ) " \
46
+ --build-arg REGISTRY=" $( REGISTRY) " \
47
+ --build-arg OWNER=" $( OWNER) " \
48
+ --build-arg ROOT_IMAGE=" $( ROOT_IMAGE) " \
49
+ --build-arg PYTHON_VERSION=" $( PYTHON_VERSION) "
42
50
@echo -n " Built image size: "
43
51
@docker images " $( REGISTRY) /$( OWNER) /$( notdir $@ ) :latest" --format " {{.Size}}"
44
52
build-all : $(foreach I, $(ALL_IMAGES ) , build/$(I ) ) # # build all stacks
You can’t perform that action at this time.
0 commit comments