We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4510f97 commit 7877a84Copy full SHA for 7877a84
Dockerfile
@@ -10,7 +10,9 @@ RUN apt-get update && \
10
git \
11
libclang-dev \
12
make \
13
- protobuf-compiler
+ protobuf-compiler \
14
+ pkg-config \
15
+ libssl-dev
16
17
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
18
RUN rustup target add wasm32v1-none
@@ -20,6 +22,10 @@ RUN rustup target add wasm32v1-none
20
22
RUN rustup target add wasm32-unknown-unknown
21
23
RUN rustup component add rust-src
24
25
+RUN cargo install sccache
26
+ENV RUSTC_WRAPPER=/usr/local/cargo/bin/sccache
27
+ENV SCCACHE_DIR=/opt/polkadot-sdk/.sccache
28
+
29
WORKDIR /opt
30
ARG VERSION=stable2509
31
RUN git clone https://github.com/paritytech/polkadot-sdk.git -b polkadot-$VERSION --depth 1
0 commit comments