Clean up Dockerfiles

This commit is contained in:
gruebel
2018-10-27 17:24:00 +02:00
parent 3be8cf71dd
commit 27a8bf1008
2 changed files with 4 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
FROM alpine:3.7
WORKDIR /home/weave
RUN apk add --update bash conntrack-tools iproute2 util-linux curl && \
rm -rf /var/cache/apk/*
RUN apk add --no-cache bash conntrack-tools iproute2 util-linux curl
COPY ./scope /home/weave/
ENTRYPOINT ["/home/weave/scope", "--mode=probe", "--no-app", "--probe.docker=true"]

View File

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