Skip to content

Commit

Permalink
fix: temporarily hardcode node version in docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Aug 31, 2022
1 parent 27071f4 commit a6da18c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ WORKDIR /home/aeternity/node
# Download, and unzip latest aeternity release archive
ENV NODEDIR=/home/aeternity/node/local/rel/aeternity
RUN mkdir -p ./local/rel/aeternity/data/mnesia
RUN curl -s https://api.github.com/repos/aeternity/aeternity/releases/latest | \
jq '.assets[] | .browser_download_url | select(contains("ubuntu-x86_64.tar.gz")) | select(contains("aeternity-v"))' | \
xargs curl -L --output aeternity.tar.gz && tar -C ./local/rel/aeternity -xf aeternity.tar.gz
RUN curl -L --output aeternity.tar.gz https://github.com/aeternity/aeternity/releases/download/v6.5.2/aeternity-v6.5.2-ubuntu-x86_64.tar.gz && tar -C ./local/rel/aeternity -xf aeternity.tar.gz

RUN chmod +x ${NODEDIR}/bin/aeternity
RUN cp -r ./local/rel/aeternity/lib local/
Expand Down

0 comments on commit a6da18c

Please sign in to comment.