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 938cc9f commit bf5f1b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ RUN apt-get update \
RUN apt install -y jq curl

RUN echo IBC_VERSION_JSON=$(curl $IBC_VERSION_JSON_URL) >> .env
RUN echo IBC_VER=$(echo $IBC_VERSION_JSON | jq '.[0]["name"]') >> .env
RUN echo IBC_ASSET_URL=$(echo $IBC_VERSION_JSON | jq '.[0]["assets"][]|select(.name | test("IBCLinux*"))["browser_download_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

# make dirs
RUN mkdir -p /tmp
Expand Down

0 comments on commit bf5f1b3

Please sign in to comment.