mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 10:11:03 +00:00
* alpine: dl-4.alpinelinux.org is dead, use another server * increase buffer for docker stats Attempt to avoid the following message: docker container: dropping stats. * probe: better timeout error messages The logs contains the following messages: Process reporter took longer than 1s K8s reporter took longer than 1s Docker reporter took longer than 1s Endpoint reporter took longer than 1s This patch prints how long it takes.
15 lines
523 B
Docker
15 lines
523 B
Docker
FROM alpine:3.3
|
|
MAINTAINER Weaveworks Inc <help@weave.works>
|
|
LABEL works.weave.role=system
|
|
WORKDIR /home/weave
|
|
RUN echo "http://dl-3.alpinelinux.org/alpine/edge/testing" >>/etc/apk/repositories && \
|
|
apk add --update bash runit conntrack-tools iproute2 util-linux curl && \
|
|
rm -rf /var/cache/apk/*
|
|
ADD ./docker.tgz /
|
|
ADD ./weave /usr/bin/
|
|
COPY ./scope ./runsvinit ./entrypoint.sh /home/weave/
|
|
COPY ./run-app /etc/service/app/run
|
|
COPY ./run-probe /etc/service/probe/run
|
|
EXPOSE 4040
|
|
ENTRYPOINT ["/home/weave/entrypoint.sh"]
|