Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Fixed Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
oplehto committed Feb 9, 2018
1 parent 78f2863 commit 6f1ab4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.7
ADD influx-spout /bin/
ADD utils/influx-spout-tap /bin/
ADD influx-spout-tap /bin/
ADD example-udp-listener.conf /etc/influx-spout/udp-listener.toml
ADD example-http-listener.conf /etc/influx-spout/http-listener.toml
RUN apk update && apk add dumb-init && rm -rf /var/cache/apk/*
Expand Down
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ abort:
$(error Ensure Go 1.9+ is available and the GOPATH env variable is set)
endif

all: deps check-git influx-spout utils
all: deps check-git influx-spout influx-spout-tap


clean:
go clean

rm -f influx-spout-tap

check-git:
@# See these files with:
Expand Down Expand Up @@ -50,9 +50,8 @@ influx-spout:
go build -a -tags netgo -installsuffix netgo -v -x -ldflags '-X main.version=$(VERSION) -X main.builtOn=$(BUILT_ON) -w -extldflags "-static"'
@ls -l influx-spout

utils:
cd utils
go build *.go
influx-spout-tap:
go build utils/influx-spout-tap.go

docker: influx-spout
$(info Building the docker image $(DOCKER_IMAGE) with $(PROJECT) $(VERSION))
Expand Down

0 comments on commit 6f1ab4d

Please sign in to comment.