File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 1- FROM rust:1.60 -slim-bullseye
1+ FROM rust:1.84 -slim-bullseye
22# keep rust version in sync to avoid re-downloading rust
33# use https://github.com/solana-labs/solana/blob/db9fdf5811ecd8a84ea446591854974d386681ef/ci/rust-version.sh#L21
44
@@ -8,20 +8,18 @@ RUN set -x \
88 clang \
99 cmake \
1010 libudev-dev \
11- unzip \
1211 libssl-dev \
1312 pkg-config \
1413 zlib1g-dev \
14+ libelf-dev \
15+ unzip \
1516 curl \
16- && rustup component add rustfmt \
17- && rustup component add clippy \
18- && rustc --version \
19- && cargo --version
17+ libudev-dev
2018
21- ENV PROTOC_VERSION 21.12
22- ENV PROTOC_ZIP protoc-$PROTOC_VERSION-linux-x86_64.zip
19+ ENV PROTOC_VERSION=23.4
20+ ENV PROTOC_ZIP= protoc-$PROTOC_VERSION-linux-x86_64.zip
2321
24- RUN curl -OL https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/$PROTOC_ZIP \
22+ RUN curl -Ss - OL https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/$PROTOC_ZIP \
2523 && unzip -o $PROTOC_ZIP -d /usr/local bin/protoc \
2624 && unzip -o $PROTOC_ZIP -d /usr/local include/* \
2725 && rm -f $PROTOC_ZIP
You can’t perform that action at this time.
0 commit comments