Merge pull request #788 from vmarmol/canary
Add a self-built canary cAdvisor.
This commit is contained in:
commit
26a9112341
@ -5,4 +5,4 @@ set -x
|
||||
|
||||
godep go build -a github.com/google/cadvisor
|
||||
|
||||
docker build -t google/cadvisor:canary .
|
||||
docker build -t google/cadvisor:beta .
|
||||
|
11
deploy/canary/Dockerfile
Normal file
11
deploy/canary/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM golang:latest
|
||||
MAINTAINER vmarmol@google.com
|
||||
|
||||
|
||||
RUN apt-get install -y git
|
||||
RUN git clone https://github.com/google/cadvisor.git /go/src/github.com/google/cadvisor
|
||||
RUN go get github.com/tools/godep
|
||||
RUN cd /go/src/github.com/google/cadvisor && godep go build .
|
||||
|
||||
ENTRYPOINT ["/go/src/github.com/google/cadvisor/cadvisor"]
|
||||
|
Loading…
Reference in New Issue
Block a user