From fced92808905e6c23110d01c63df38d07290d5e2 Mon Sep 17 00:00:00 2001 From: Dan Garthwaite Date: Thu, 10 Oct 2019 09:29:01 -0400 Subject: [PATCH] Make healthcheck script executable --- chainquery/Dockerfile-linux-x86_64-production | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/chainquery/Dockerfile-linux-x86_64-production b/chainquery/Dockerfile-linux-x86_64-production index 9b8b8b8..5f7b391 100644 --- a/chainquery/Dockerfile-linux-x86_64-production +++ b/chainquery/Dockerfile-linux-x86_64-production @@ -10,11 +10,8 @@ WORKDIR / SHELL ["/bin/bash", "-o", "pipefail", "-c"] COPY ./stuff/start.sh start COPY ./stuff/healthcheck.sh healthcheck -RUN curl --progress-bar -L -o /chainquery.zip \ - $(curl -s https://api.github.com/repos/lbryio/chainquery/releases | \ - grep -F 'Linux_x86_64.zip' | grep download | head -n 1 | cut -d'"' -f4) && \ - unzip /chainquery.zip && \ - rm /chainquery.zip +RUN curl --progress-bar -L -o /chainquery https://build.lbry.io/chainquery/branch-master/chainquery && \ + chmod +x /chainquery /start /healthcheck FROM ubuntu:18.04 as app ADD https://raw.githubusercontent.com/lbryio/chainquery/master/config/default/chainqueryconfig.toml /etc/lbry/chainqueryconfig.toml.orig