1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

fix cadvisor

This commit is contained in:
kev 2016-07-11 10:11:29 +08:00
parent 67f9b0b2d9
commit da0314427c

View File

@ -2,15 +2,14 @@
# Dockerfile for cadvisor
#
FROM alpine
FROM alpine:edge
MAINTAINER kev <noreply@easypi.info>
RUN set -xe \
&& apk add --update ca-certificates openssl device-mapper \
&& wget https://circle-artifacts.com/gh/andyshinn/alpine-pkg-glibc/8/artifacts/0/home/ubuntu/alpine-pkg-glibc/packages/x86_64/glibc-2.21-r2.apk \
&& wget https://circle-artifacts.com/gh/andyshinn/alpine-pkg-glibc/8/artifacts/0/home/ubuntu/alpine-pkg-glibc/packages/x86_64/glibc-bin-2.21-r2.apk \
&& apk add --allow-untrusted glibc-2.21-r2.apk glibc-bin-2.21-r2.apk \
&& apk add zfs-utils --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted \
&& apk add --update 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 \
&& /usr/glibc/usr/bin/ldconfig /lib /usr/glibc/usr/lib \
&& echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf \
&& rm -rf /var/cache/apk/*