mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
24 lines
723 B
Docker
24 lines
723 B
Docker
#
|
|
# Dockerfile for cadvisor
|
|
#
|
|
|
|
FROM alpine:edge
|
|
MAINTAINER kev <noreply@easypi.pro>
|
|
|
|
ENV CADVISOR_VERSION 0.23.4
|
|
|
|
RUN set -xe \
|
|
&& apk add --no-cache ca-certificates openssl device-mapper zfs \
|
|
&& wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.23-r3/glibc-2.23-r3.apk \
|
|
&& wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.23-r3/glibc-bin-2.23-r3.apk \
|
|
&& apk add --allow-untrusted glibc-2.23-r3.apk glibc-bin-2.23-r3.apk \
|
|
&& rm -f *.apk
|
|
|
|
RUN set -xe \
|
|
&& wget https://github.com/google/cadvisor/releases/download/v${CADVISOR_VERSION}/cadvisor -O /usr/bin/cadvisor \
|
|
&& chmod +x /usr/bin/cadvisor
|
|
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["cadvisor", "-logtostderr"]
|