Skip to content

Commit 8772c90

Browse files
rghetiabogdandrutu
authored andcommitted
fix docker otelsvc build. (#29)
1 parent 3aac7c1 commit 8772c90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ otelsvc:
9292
.PHONY: docker-component # Not intended to be used directly
9393
docker-component: check-component
9494
GOOS=linux $(MAKE) $(COMPONENT)
95-
cp ./bin/oc$(COMPONENT)_linux ./cmd/oc$(COMPONENT)/
96-
docker build -t oc$(COMPONENT) ./cmd/oc$(COMPONENT)/
97-
rm ./cmd/oc$(COMPONENT)/oc$(COMPONENT)_linux
95+
cp ./bin/$(COMPONENT)_linux ./cmd/$(COMPONENT)/
96+
docker build -t $(COMPONENT) ./cmd/$(COMPONENT)/
97+
rm ./cmd/$(COMPONENT)/$(COMPONENT)_linux
9898

9999
.PHONY: check-component
100100
check-component:

0 commit comments

Comments
 (0)