Skip to content

Commit

Permalink
Merge pull request #3 from CiscoCloud/update/0.12.2
Browse files Browse the repository at this point in the history
Update/0.12.2
  • Loading branch information
ChrisAubuchon committed Apr 26, 2016
2 parents aaaae73 + 5565209 commit 606f6b3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ FROM gliderlabs/alpine:3.1

MAINTAINER Chris Aubuchon <[email protected]>

ENV CONSUL_TEMPLATE_VERSION 0.10.0
ENV CONSUL_TEMPLATE_VERSION 0.12.2

ADD https://github.com/hashicorp/consul-template/releases/download/v${CONSUL_TEMPLATE_VERSION}/consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz /
ADD https://releases.hashicorp.com/consul-template/${CONSUL_TEMPLATE_VERSION}/consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.zip /

RUN tar zxvf consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz && \
mv consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64/consul-template /usr/local/bin/consul-template &&\
rm -rf /consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz && \
rm -rf /consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64 && \
RUN unzip consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.zip && \
mv consul-template /usr/local/bin/consul-template &&\
rm -rf /consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.zip && \
mkdir -p /consul-template /consul-template/config.d /consul-template/templates

CMD [ "/usr/local/bin/consul-template"]

0 comments on commit 606f6b3

Please sign in to comment.