simplified, removed debug and fixed curl
This commit is contained in:
parent
2cfc0abf25
commit
5c6e5653c5
1 changed files with 2 additions and 4 deletions
|
@ -8,13 +8,11 @@ RUN apt-get update && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
mkdir /download
|
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.
|
## 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
|
# ADD --chown=1000:1000 https://github.com/lbryio/chainquery/releases/download/latest/chainquery_latest_Linux_x86_64.zip /download
|
||||||
RUN cd /download && \
|
RUN unzip /download/chainquery.zip -d /download/ && \
|
||||||
ls -lAh /download && pwd && \
|
|
||||||
unzip -o /download/chainquery.zip -d /download/ && \
|
|
||||||
rm chainquery.zip
|
rm chainquery.zip
|
||||||
|
|
||||||
## Switch to Alpine eventually we might need to compile in Alpine for this.
|
## Switch to Alpine eventually we might need to compile in Alpine for this.
|
||||||
|
|
Loading…
Reference in a new issue