Skip to content

Commit

Permalink
Polkadot 0.9.43
Browse files Browse the repository at this point in the history
  • Loading branch information
rblaine95 committed Jun 13, 2023
1 parent 9aa5213 commit b9c0930
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###################
# --- builder --- #
###################
FROM docker.io/rust:1.69 AS builder
FROM docker.io/rust:1.70 AS builder

RUN apt-get update && \
apt-get -y dist-upgrade && \
Expand All @@ -11,18 +11,18 @@ RUN apt-get update && \
protobuf-compiler

WORKDIR /opt
ARG VERSION=0.9.42
ARG VERSION=0.9.43
RUN git clone https://github.com/paritytech/polkadot.git -b v$VERSION --depth 1
WORKDIR /opt/polkadot
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
RUN ./scripts/init.sh
RUN rustup target add wasm32-unknown-unknown
RUN cargo build --release

##################
# --- runner --- #
##################
FROM docker.io/debian:11-slim
FROM docker.io/debian:12-slim

COPY --from=builder /opt/polkadot/target/release/polkadot /usr/local/bin/polkadot

Expand Down

0 comments on commit b9c0930

Please sign in to comment.