Merge pull request #788 from vmarmol/canary

Add a self-built canary cAdvisor.
This commit is contained in:
Rohit Jnagal 2015-06-26 17:08:28 -07:00
commit 26a9112341
2 changed files with 12 additions and 1 deletions

View File

@ -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
View 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"]