Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
download binaries to tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylmendillo committed Mar 31, 2021
1 parent e3b9d05 commit 5beb886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ ADD entrypoint.sh /entrypoint.sh

# download yq and consul
RUN wget -qO /usr/bin/yq https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_${BINARY} &&\
wget -qO consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_${BINARY}.zip
wget -qO /tmp/consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_${BINARY}.zip

# install yq and consul
RUN chmod +x /usr/bin/yq &&\
unzip consul.zip -d /usr/local/bin/
unzip /tmp/consul.zip -d /usr/local/bin/

ENTRYPOINT [ "/entrypoint.sh" ]

0 comments on commit 5beb886

Please sign in to comment.