From 5c6e5653c528bb6c46dae34583d41f48d2cb2fd7 Mon Sep 17 00:00:00 2001 From: Leopere Date: Sun, 4 Nov 2018 12:01:09 -0500 Subject: [PATCH] simplified, removed debug and fixed curl --- chainquery/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/chainquery/Dockerfile b/chainquery/Dockerfile index f3ee5cf..58723dd 100644 --- a/chainquery/Dockerfile +++ b/chainquery/Dockerfile @@ -8,13 +8,11 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* && \ mkdir /download -RUN curl -o /download/chainquery.zip $(curl -s https://api.github.com/repos/lbryio/chainquery/releases | fgrep 'Linux_x86_64.zip' | grep download | head -n 1 | cut -d'"' -f4) +RUN curl -L -o /download/chainquery.zip $(curl -s https://api.github.com/repos/lbryio/chainquery/releases | fgrep 'Linux_x86_64.zip' | grep download | head -n 1 | cut -d'"' -f4) ## I really want to use this instead of all the curl stuff at one point. # ADD --chown=1000:1000 https://github.com/lbryio/chainquery/releases/download/latest/chainquery_latest_Linux_x86_64.zip /download -RUN cd /download && \ - ls -lAh /download && pwd && \ - unzip -o /download/chainquery.zip -d /download/ && \ +RUN unzip /download/chainquery.zip -d /download/ && \ rm chainquery.zip ## Switch to Alpine eventually we might need to compile in Alpine for this.