Skip to content

Commit

Permalink
simplify producer aggregator build
Browse files Browse the repository at this point in the history
  • Loading branch information
ptzianos committed Sep 13, 2024
1 parent e79df2e commit a2794ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 0 additions & 6 deletions components/producers/aggregator/Dockerfile

This file was deleted.

7 changes: 4 additions & 3 deletions components/producers/aggregator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ SOURCE_CODE_REPO=
DOCKER=docker

container:
$(DOCKER) build --tag $(CONTAINER_REPO)/components/producers/tagger:$(DRACON_VERSION) \
--file Dockerfile \
$(DOCKER) --debug build --tag $(CONTAINER_REPO)/components/producers/tagger:$(DRACON_VERSION) \
--build-arg EXECUTABLE_SRC_PATH=components/producers/aggregator/aggregator-parser \
--build-arg EXECUTABLE_TARGET_PATH=components/producers/aggregator/tagger \
$$([ "${SOURCE_CODE_REPO}" != "" ] && echo "--label=org.opencontainers.image.source=${SOURCE_CODE_REPO}" ) \
--build-arg BASE_IMAGE=$(BASE_IMAGE) ../../../bin 1>&2
--file ${BASE_IMAGE_PATH} ../../../bin 1>&2

publish:
$(DOCKER) push $(CONTAINER_REPO)/components/producers/tagger:$(DRACON_VERSION) 1>&2

0 comments on commit a2794ba

Please sign in to comment.