Commit c367d3c2 authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Merge pull request #12637 from piosz/rc-make

Fixed Makefile for Resource Consumer to handle deps
parents 08dec97f 3489c011
...@@ -3,8 +3,8 @@ all: clean consumer ...@@ -3,8 +3,8 @@ all: clean consumer
TAG = alpha TAG = alpha
consumer: consumer:
CGO_ENABLED=0 go build -a -installsuffix cgo --ldflags '-w' -o consume-cpu/consume-cpu ./consume-cpu/consume_cpu.go CGO_ENABLED=0 godep go build -a -installsuffix cgo --ldflags '-w' -o consume-cpu/consume-cpu ./consume-cpu/consume_cpu.go
CGO_ENABLED=0 go build -a -installsuffix cgo --ldflags '-w' -o consumer . CGO_ENABLED=0 godep go build -a -installsuffix cgo --ldflags '-w' -o consumer .
container: container:
sudo docker build -t gcr.io/google_containers/resource_consumer:$(TAG) . sudo docker build -t gcr.io/google_containers/resource_consumer:$(TAG) .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment