remove zip.zip maybe?
This commit is contained in:
parent
0cc0b2aa13
commit
25260ceff4
1 changed files with 4 additions and 3 deletions
|
@ -6,13 +6,14 @@ RUN apt-get update && \
|
||||||
apt-get -y install unzip curl && \
|
apt-get -y install unzip curl && \
|
||||||
apt-get autoclean -y && \
|
apt-get autoclean -y && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
mkdir /download && \
|
mkdir /download
|
||||||
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 -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 cd /download/ && \
|
||||||
unzip chainquery.zip && \
|
unzip chainquery && \
|
||||||
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