Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
manhinhang authored Apr 22, 2024
1 parent bf5f1b3 commit 2d7dc24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ RUN apt-get update \
unzip
RUN apt install -y jq curl

RUN echo IBC_VERSION_JSON=$(curl $IBC_VERSION_JSON_URL) >> .env
RUN source .env && echo IBC_VER=$(echo $IBC_VERSION_JSON | jq '.[0]["name"]') >> .env
RUN source .env && echo IBC_ASSET_URL=$(echo $IBC_VERSION_JSON | jq '.[0]["assets"][]|select(.name | test("IBCLinux*"))["browser_download_url"]') >> . env
RUN echo IBC_VERSION_JSON=$(curl $IBC_VERSION_JSON_URL) >> .env \
echo IBC_VER=$(echo $IBC_VERSION_JSON | jq '.[0]["name"]') >> .env \
echo IBC_ASSET_URL=$(echo $IBC_VERSION_JSON | jq '.[0]["assets"][]|select(.name | test("IBCLinux*"))["browser_download_url"]') >> . env

# make dirs
RUN mkdir -p /tmp
Expand Down

0 comments on commit 2d7dc24

Please sign in to comment.