Skip to content

Commit

Permalink
fix docker otelsvc build. (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
rghetia authored and bogdandrutu committed Jun 20, 2019
1 parent 3aac7c1 commit 8772c90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ otelsvc:
.PHONY: docker-component # Not intended to be used directly
docker-component: check-component
GOOS=linux $(MAKE) $(COMPONENT)
cp ./bin/oc$(COMPONENT)_linux ./cmd/oc$(COMPONENT)/
docker build -t oc$(COMPONENT) ./cmd/oc$(COMPONENT)/
rm ./cmd/oc$(COMPONENT)/oc$(COMPONENT)_linux
cp ./bin/$(COMPONENT)_linux ./cmd/$(COMPONENT)/
docker build -t $(COMPONENT) ./cmd/$(COMPONENT)/
rm ./cmd/$(COMPONENT)/$(COMPONENT)_linux

.PHONY: check-component
check-component:
Expand Down

0 comments on commit 8772c90

Please sign in to comment.