Skip to content
Snippets Groups Projects
Commit 0ea2e1cb authored by Arsen A. Gutsal's avatar Arsen A. Gutsal Committed by André Silva
Browse files

Dockerfile fixed. (#308)

* Dockerfile fixed.

* docker: use init.sh to setup rust env
parent d814150d
No related merge requests found
......@@ -9,11 +9,11 @@ COPY . /polkadot
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y cmake pkg-config libssl-dev git
apt-get install -y cmake pkg-config libssl-dev git clang
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
export PATH=$PATH:$HOME/.cargo/bin && \
cargo build --$PROFILE
export PATH=$PATH:$HOME/.cargo/bin && \
scripts/init.sh && \
cargo build --$PROFILE
# ===== SECOND STAGE ======
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment