Skip to content

Commit 147d731

Browse files
committed
up
1 parent 8ef6e52 commit 147d731

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

Dockerfile

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

0 commit comments

Comments
 (0)