Skip to content

Commit

Permalink
add Makefile command to build all modules
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Jul 22, 2022
1 parent 01327b9 commit 355cb4d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ build-plugin: ## Build ingress-nginx krew plugin.
build/build-plugin.sh


.PHONY: image-modules
image-modules: image-module-opentelemetry ## Builds images for all the modules

image-module-%: ## Builds the image for the required module
echo "Building $* docker image ($(ARCH))..."
@docker build \
--no-cache \
-t $(REGISTRY)/$*:$(TAG) images/$*/rootfs

.PHONY: clean
clean: ## Remove .gocache directory.
rm -rf bin/ .gocache/ .cache/
Expand Down

0 comments on commit 355cb4d

Please sign in to comment.