File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ FROM docker.io/rust:1.92-slim-trixie AS builder
66RUN apt-get update && \
77 apt-get -y dist-upgrade && \
88 apt-get -y install \
9+ curl \
910 g++ \
1011 git \
1112 libclang-dev \
@@ -19,6 +20,12 @@ WORKDIR /opt
1920ARG VERSION=stable2512
2021RUN git clone https://github.com/paritytech/polkadot-sdk.git -b polkadot-$VERSION --depth 1
2122WORKDIR /opt/polkadot-sdk
23+ # Apply `[stable2512] Backport 10365` patch only for stable2512
24+ RUN if [ "$VERSION" = "stable2512" ]; then \
25+ curl -L https://github.com/paritytech/polkadot-sdk/pull/10706.patch -o /tmp/fix.patch && \
26+ patch -p1 < /tmp/fix.patch && \
27+ rm -f /tmp/fix.patch; \
28+ fi
2229RUN cargo build --locked \
2330 --profile production \
2431 --bin polkadot \
You can’t perform that action at this time.
0 commit comments