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/* && \
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue