<NME> Dockerfile
<BEF> FROM voxxit/base:alpine

ENV CONSUL_VERSION 0.6.3

RUN  apk add --update ca-certificates \
  && wget https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip \
  && unzip consul_${CONSUL_VERSION}_linux_amd64.zip \
  && mv consul /bin/ \
  && rm -rf consul_${CONSUL_VERSION}_linux_amd64.zip \
  && cd /tmp \
  && wget -O ui.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_web_ui.zip \
  && unzip ui.zip \
  && mkdir -p /ui \
  && mv * /ui \
  && rm -rf /tmp/* /var/cache/apk/*

EXPOSE 8300 8301 8301/udp 8302 8302/udp 8400 8500 8600 8600/udp

VOLUME [ "/data" ]

ENTRYPOINT [ "/bin/consul" ]

CMD [ "agent", "-data-dir", "/data" ]

<MSG> Fix Consul, and update to 0.6.4

<DFF> @@ -1,8 +1,8 @@
-FROM voxxit/base:alpine
+FROM alpine:edge
 
-ENV CONSUL_VERSION 0.6.3
+ENV CONSUL_VERSION 0.6.4
 
-RUN  apk add --update ca-certificates \
+RUN  apk add --no-cache wget ca-certificates \
   && wget https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip \
   && unzip consul_${CONSUL_VERSION}_linux_amd64.zip \
   && mv consul /bin/ \
@@ -12,7 +12,7 @@ RUN  apk add --update ca-certificates \
   && unzip ui.zip \
   && mkdir -p /ui \
   && mv * /ui \
-  && rm -rf /tmp/* /var/cache/apk/*
+  && rm -rf /tmp/*
 
 EXPOSE 8300 8301 8301/udp 8302 8302/udp 8400 8500 8600 8600/udp
 

{'commit': 'diff --git a/consul/Dockerfile b/consul/Dockerfile\nindex e025aec..1c922a0 100644\n--- a/consul/Dockerfile\n+++ b/consul/Dockerfile\n@@ -1,8 +1,8 @@\n-FROM voxxit/base:alpine\n+FROM alpine:edge\n \n-ENV CONSUL_VERSION 0.6.3\n+ENV CONSUL_VERSION 0.6.4\n \n-RUN  apk add --update ca-certificates \\\n+RUN  apk add --no-cache wget ca-certificates \\\n   && wget https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip \\\n   && unzip consul_${CONSUL_VERSION}_linux_amd64.zip \\\n   && mv consul /bin/ \\\n@@ -12,7 +12,7 @@ RUN  apk add --update ca-certificates \\\n   && unzip ui.zip \\\n   && mkdir -p /ui \\\n   && mv * /ui \\\n-  && rm -rf /tmp/* /var/cache/apk/*\n+  && rm -rf /tmp/*\n \n EXPOSE 8300 8301 8301/udp 8302 8302/udp 8400 8500 8600 8600/udp\n \n', 'commit_subject': 'Fix Consul, and update to 0.6.4', 'repo_name': 'voxxit/dockerfiles', 'committer': {'name': 'Joshua Delsman', 'email': '0514716077520291ec214e24dd238e6f5fdcb7b1@usertesting.com', 'time_sec': '1469303487', 'tz_offset': '-420', 'date': {'seconds': '1469303487'}}, 'commit_tree': '992eff3679552a6fad824bac6f3dc4ceb3a231e2', 'commit_message': 'Fix Consul, and update to 0.6.4\n', 'language_name': 'Ruby', 'license': 'mit', 'hunks': '@@ -1,8 +1,8 @@\n-FROM voxxit/base:alpine\n+FROM alpine:edge\n \n-ENV CONSUL_VERSION 0.6.3\n+ENV CONSUL_VERSION 0.6.4\n \n-RUN  apk add --update ca-certificates \\\n+RUN  apk add --no-cache wget ca-certificates \\\n   && wget https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip \\\n   && unzip consul_${CONSUL_VERSION}_linux_amd64.zip \\\n   && mv consul /bin/ \\\n@@ -12,7 +12,7 @@ RUN  apk add --update ca-certificates \\\n   && unzip ui.zip \\\n   && mkdir -p /ui \\\n   && mv * /ui \\\n-  && rm -rf /tmp/* /var/cache/apk/*\n+  && rm -rf /tmp/*\n \n EXPOSE 8300 8301 8301/udp 8302 8302/udp 8400 8500 8600 8600/udp\n \n', 'addition_count': 4, 'deletion_count': 4, 'src_file': 'a/consul/Dockerfile', 'tgt_file': 'b/consul/Dockerfile', 'file_extension': '', 'before_file': 'FROM voxxit/base:alpine\n\nENV CONSUL_VERSION 0.6.3\n\nRUN  apk add --update ca-certificates \\\n  && wget https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip \\\n  && unzip consul_${CONSUL_VERSION}_linux_amd64.zip \\\n  && mv consul /bin/ \\\n  && rm -rf consul_${CONSUL_VERSION}_linux_amd64.zip \\\n  && cd /tmp \\\n  && wget -O ui.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_web_ui.zip \\\n  && unzip ui.zip \\\n  && mkdir -p /ui \\\n  && mv * /ui \\\n  && rm -rf /tmp/* /var/cache/apk/*\n\nEXPOSE 8300 8301 8301/udp 8302 8302/udp 8400 8500 8600 8600/udp\n\nVOLUME [ "/data" ]\n\nENTRYPOINT [ "/bin/consul" ]\n\nCMD [ "agent", "-data-dir", "/data" ]\n', 'message': 'Fix Consul, and update to 0.6.4\n', 'author_name': 'Joshua Delsman', 'lang': 'Dockerfile'}