Remove weaveutil and weave from Dockerfile.cloud-agent

- Moves the weave and weaveutil from Dockerfile.cloud-agent to
  Dockerfile.scope

Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
This commit is contained in:
Bhavin Gandhi
2018-10-02 10:59:51 +05:30
parent c0b60a1653
commit 9c2fe36c0e
2 changed files with 1 additions and 1 deletions

View File

@@ -2,7 +2,6 @@ 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"]

View File

@@ -2,6 +2,7 @@ FROM weaveworks/cloud-agent
RUN apk add --update runit && \
rm -rf /var/cache/apk/*
ADD ./demo.json /
ADD ./weave ./weaveutil /usr/bin/
COPY ./runsvinit ./entrypoint.sh /home/weave/
COPY ./run-app /etc/service/app/run
COPY ./run-probe /etc/service/probe/run