|
@@ -0,0 +1,7 @@
|
|
|
|
+FROM registry.cn-hangzhou.aliyuncs.com/kennylee/golang:latest
|
|
|
|
+
|
|
|
|
+RUN apt-get install -y git dmsetup
|
|
|
|
+RUN git clone https://github.com/google/cadvisor.git /go/src/github.com/google/cadvisor
|
|
|
|
+RUN cd /go/src/github.com/google/cadvisor && make
|
|
|
|
+
|
|
|
|
+ENTRYPOINT ["/go/src/github.com/google/cadvisor/cadvisor"]
|