mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
fix cadvisor
This commit is contained in:
@@ -2,15 +2,14 @@
|
|||||||
# Dockerfile for cadvisor
|
# Dockerfile for cadvisor
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine:edge
|
||||||
MAINTAINER kev <noreply@easypi.info>
|
MAINTAINER kev <noreply@easypi.info>
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk add --update ca-certificates openssl device-mapper \
|
&& apk add --update ca-certificates openssl device-mapper zfs \
|
||||||
&& 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://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.23-r3/glibc-2.23-r3.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 \
|
&& 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.21-r2.apk glibc-bin-2.21-r2.apk \
|
&& apk add --allow-untrusted glibc-2.23-r3.apk glibc-bin-2.23-r3.apk \
|
||||||
&& apk add zfs-utils --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted \
|
|
||||||
&& /usr/glibc/usr/bin/ldconfig /lib /usr/glibc/usr/lib \
|
&& /usr/glibc/usr/bin/ldconfig /lib /usr/glibc/usr/lib \
|
||||||
&& echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf \
|
&& echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|||||||
Reference in New Issue
Block a user