mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 10:11:03 +00:00
1)backend/Dockerfile 2) probe/endpoint/dns_snooper.go
3) client/Dockerfile 4) docker/Dockerfile.cloud-agent
5) probe/process/walker_linux_test.go & 6) tools/lint
1)'backend/Dockerfile' : Conditional added so that the cross-compiling should
be done on amd64. Also removed support for sh-lint for ppc64le for now.
As the version for shfmt mentioned in the dockerfile is not available for
ppc64le and the later version does't work fine with existing application.
2)'probe/endpoint/dns_snooper.go' : Renamed this file so as to reuse for ppc64le
and added a build-constraint. Now this file will be build for amd64 on linux
and ppc64le on linux.
3)'client/Dockerfile' : Modified the version of the base image for node from
8.4.0 to 8.11, as this version supports multiarch.
4)'docker/Dockerfile.cloud-agent' : Modified the version of the base image for
golang from 1.10.2-strech to 1.10.2, which supports multiarch.
5) 'probe/process/walker_linux_test.go' : Test fixed to run for ppc64le,
modified the code to accept RSSBytes based on pageSize value per
architecture, instead of hard-coded values.
6)'tools/lint' : Modified the file to skip the sh-lint implementation for ppc64le.
PR #3231
16 lines
614 B
Docker
16 lines
614 B
Docker
FROM alpine:3.7
|
|
WORKDIR /home/weave
|
|
RUN apk add --update bash conntrack-tools iproute2 util-linux curl && \
|
|
rm -rf /var/cache/apk/*
|
|
ADD ./weave ./weaveutil /usr/bin/
|
|
COPY ./scope /home/weave/
|
|
ENTRYPOINT ["/home/weave/scope", "--mode=probe", "--no-app", "--probe.docker=true"]
|
|
|
|
ARG revision
|
|
LABEL works.weave.role="system" \
|
|
maintainer="Weaveworks <help@weave.works>" \
|
|
org.opencontainers.image.title="cloud-agent" \
|
|
org.opencontainers.image.source="https://github.com/weaveworks/scope" \
|
|
org.opencontainers.image.revision="${revision}" \
|
|
org.opencontainers.image.vendor="Weaveworks"
|