Dockerfile 296 B

1234567
  1. FROM registry.cn-hangzhou.aliyuncs.com/kennylee/golang:latest
  2. RUN apt-get install -y git dmsetup
  3. RUN git clone https://github.com/google/cadvisor.git /go/src/github.com/google/cadvisor
  4. RUN cd /go/src/github.com/google/cadvisor && make
  5. ENTRYPOINT ["/go/src/github.com/google/cadvisor/cadvisor"]