mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 09:21:05 +00:00
Dockerfile fixed. (#308)
* Dockerfile fixed. * docker: use init.sh to setup rust env
This commit is contained in:
committed by
André Silva
parent
d814150d07
commit
0ea2e1cb8c
@@ -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 ======
|
||||
|
||||
Reference in New Issue
Block a user