Skip to content

Commit f71cecc

Browse files
gmfrascaKevinGrantLee
authored andcommitted
chore: Add make targets for building driver and launcher images (#11103)
Signed-off-by: Giulio Frasca <gfrasca@redhat.com> Signed-off-by: KevinGrantLee <kglee@google.com>
1 parent 1e18f45 commit f71cecc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

backend/Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ IMG_TAG_CACHESERVER ?= cache-server
1010
IMG_TAG_SCHEDULEDWORKFLOW ?= scheduledworkflow
1111
IMG_TAG_VIEWERCONTROLLER ?= viewercontroller
1212
IMG_TAG_VISUALIZATION ?= visualization
13+
IMG_TAG_DRIVER ?= kfp-driver
14+
IMG_TAG_LAUNCHER ?= kfp-launcher
1315

1416
# Whenever build command for any of the binaries change, we should update them both here and in backend/Dockerfiles.
1517

@@ -60,7 +62,7 @@ license_launcher: $(BUILD)/launcher
6062
cd $(MOD_ROOT) && go-licenses csv ./backend/src/v2/cmd/launcher-v2 > $(CSV_PATH)/launcher.csv
6163

6264
.PHONY: image_all
63-
image_all: image_apiserver image_persistence_agent image_cache image_swf image_viewer image_visualization
65+
image_all: image_apiserver image_persistence_agent image_cache image_swf image_viewer image_visualization image_driver image_launcher
6466

6567
.PHONY: image_apiserver
6668
image_apiserver:
@@ -80,3 +82,9 @@ image_viewer:
8082
.PHONY: image_visualization
8183
image_visualization:
8284
cd $(MOD_ROOT) && ${CONTAINER_ENGINE} build -t ${IMG_TAG_VISUALIZATION} -f backend/Dockerfile.visualization .
85+
.PHONY: image_driver
86+
image_driver:
87+
cd $(MOD_ROOT) && ${CONTAINER_ENGINE} build -t ${IMG_TAG_DRIVER} -f backend/Dockerfile.driver .
88+
.PHONY: image_launcher
89+
image_launcher:
90+
cd $(MOD_ROOT) && ${CONTAINER_ENGINE} build -t ${IMG_TAG_LAUNCHER} -f backend/Dockerfile.launcher .

0 commit comments

Comments
 (0)