Merged two run commands into one in Dockerfile

This commit is contained in:
Pradeep Chhetri committed 2015-05-15 18:04:20 +05:30
1 parent fbbc2bbf79
commit 91bb28b47b
1 file changed
+13 -2
+13 -2
View File
@@ -1,9 +1,20 @@
FROM gliderlabs/alpine
MAINTAINER Weaveworks Inc <help@weave.works>
RUN apk add --update \
curl \
ethtool \
iptables \
iproute2 \
util-linux \
conntrack-tools \
&& rm -rf /var/cache/apk/*
WORKDIR /home/weave
RUN ["apk", "add", "--update", "ethtool", "conntrack-tools", "curl", "iptables", "iproute2", "util-linux"]
RUN ["sh", "-c", "rm -rf /var/cache/apk/*"]
ADD ./weave /home/weave/
ADD ./sigproxy /home/weave/
ADD ./docker.tgz /
ENTRYPOINT ["/home/weave/sigproxy", "/home/weave/weave"]