Added cmm image
This commit is contained in:
14
makefile
14
makefile
@@ -247,6 +247,17 @@ ASK: $(ASK_TAR) $(LIBNFCT_TAR) $(LIBNFNETLINK_TAR) $(TCLAP_TAR) $(LIBXML2_TAR) |
|
||||
--build-arg DEVICE_TREE_TARGET=$(DEVICE_TREE_TARGET) \
|
||||
--output type=local,dest=./$(OUT_DIR)/ASK .
|
||||
|
||||
cmm-image: ASK
|
||||
docker buildx build \
|
||||
--platform linux/arm64 \
|
||||
-f docker/cmm.Dockerfile \
|
||||
--build-arg ALPINE_SERIES=$(ALPINE_SERIES) \
|
||||
--load \
|
||||
-t $(IMAGE_REPOSITORY)/cmm:$(KUBE_VERSION)-$(TAG) .
|
||||
|
||||
push-cmm-image: cmm-image
|
||||
docker push $(IMAGE_REPOSITORY)/cmm:$(KUBE_VERSION)-$(TAG)
|
||||
|
||||
vpp: $(BUILD_BASE_STAMP) $(VPP_TAR) $(DPDK_TAR) $(FMLIB_TAR) $(FMC_TAR) $(NXP_TAR)
|
||||
@build_base_tag=$$(docker image inspect \
|
||||
--format '{{.Id}}' \
|
||||
@@ -337,7 +348,6 @@ $(RELEASE_IMAGE): $(RELEASE_DEPS) $(DOWNLOAD_PACKAGES_STAMP) | $(OUT_DIR)
|
||||
|
||||
test -f $@
|
||||
|
||||
|
||||
# ---- config targets ------------------------------------------------------------
|
||||
|
||||
cluster-config: $(CLUSTER_ENV_DEFAULT) $(CLUSTER_ENV_WORK) $(SCRIPTS_DIR)/merge-env.sh | $(OUT_DIR)
|
||||
@@ -403,5 +413,5 @@ pkgclean:
|
||||
rm -rf $(PACKAGES_DIR)
|
||||
|
||||
.PHONY: release kernel initramfs itb build-base clitools clean distclean pkgclean \
|
||||
vpp ASK \
|
||||
vpp ASK cmm-image \
|
||||
cluster-config cluster-defconfig cluster-print
|
||||
|
||||
Reference in New Issue
Block a user