Skip to content

Commit

Permalink
feat: split docker processor target from plugin builder target
Browse files Browse the repository at this point in the history
Signed-off-by: Frederico Araujo <[email protected]>
  • Loading branch information
araujof committed Apr 24, 2024
1 parent e8bd7f1 commit c670ace
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ install: build
cp ./resources/policies/distribution/* /usr/local/sysflow/resources/policies/

.PHONY: docker-build
docker-build: docker-plugin-builder
docker-build: docker-plugin-builder docker-processor

.PHONY: docker-processor
docker-processor:
( DOCKER_BUILDKIT=1 docker build --cache-from=sysflowtelemetry/plugin-builder:${SYSFLOW_VERSION} -t sysflowtelemetry/sf-processor:${SYSFLOW_VERSION} --build-arg BACKEND_TAG=$(BACKEND_TAG) --build-arg UBI_VER=$(UBI_VERSION) --target=runtime -f Dockerfile . )

.PHONY: docker-plugin-builder
Expand Down

0 comments on commit c670ace

Please sign in to comment.