Skip to content

Commit

Permalink
Downgrade ld to 2.34. Closes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
mosonyi committed Feb 24, 2022
1 parent d1a7c42 commit 9f7cca1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ RUN mkdir -p /ipfs && \

RUN /root/.cargo/bin/rustup self update

# re-install / downgrade binutils since the baiduxlab/sgx-rust image
# comes with ld version 2.35 which cannot compile the node.
RUN apt-get remove -y binutils && \
apt-get update && \
apt-get install -y binutils build-essential clang-10 debhelper dh-autoreconf \
dpkg-dev g++ g++-9 gcc gcc-8 gcc-9 libtool ocaml \
ocaml-compiler-libs ocaml-interp ocaml-nox

# install packages needed for substrate
RUN apt-get update && \
apt-get install -y cmake pkg-config libssl-dev git gcc build-essential && \
Expand Down

0 comments on commit 9f7cca1

Please sign in to comment.