From 5beb886a98bc8544134fe880d4701e2a80c62371 Mon Sep 17 00:00:00 2001 From: Darryl Mendillo <1238655+darrylmendillo@users.noreply.github.com> Date: Wed, 31 Mar 2021 15:47:20 -0400 Subject: [PATCH] download binaries to tmp --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c6567b4..159c466 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] \ No newline at end of file