Commit 81645ec8 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 219e50a2
Pipeline #43226 passed with stages
in 18 minutes and 3 seconds
......@@ -9,10 +9,10 @@ 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 && \
scripts/init.sh && \
cargo build --$PROFILE
# ===== SECOND STAGE ======
......
Supports Markdown
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