Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

Commit d11a43f

Browse files
author
Nicolas Huray
committed
Display Consul template and Fileconsul versions at prompt
1 parent 9cedddc commit d11a43f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

consul/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ ENV S6_OVERLAY_VERSION=1.9.1.3 CONSUL_TEMPLATE_VERSION=0.11.0 FILECONSUL_VERSION
1010
RUN curl -Ls https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-amd64.tar.gz | tar -xz -C / && \
1111
curl -Ls https://github.com/hashicorp/consul-template/releases/download/v${CONSUL_TEMPLATE_VERSION}/consul_template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.zip -o consul-template.zip && unzip consul-template.zip -d /usr/local/bin && \
1212
curl -Ls http://dl.bintray.com/foostan/fileconsul/${FILECONSUL_VERSION}_linux_amd64.zip -o fileconsul.zip && unzip fileconsul.zip -d /usr/local/bin && \
13-
rm -f fileconsul.zip consul-template*
13+
rm -f fileconsul.zip consul-template* && \
14+
echo -ne "- with `consul-template -v" >> /root/.built && \
15+
echo -ne "- with `fileconsul -v" >> /root/.built
1416

1517
# Add services configuration
1618
ADD etc /etc

0 commit comments

Comments
 (0)