Skip to content

Commit 4b46b02

Browse files
authored
chore: Update Rust toolchain (#352)
* Update Rust toolchain version * Use `rust-toolchain.toml` in Dockerfile
1 parent 27f2b33 commit 4b46b02

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@ RUN apt-get update && \
1313
openssl libssl-dev \
1414
protobuf-compiler=3.21.12*
1515

16-
# Install Rust using rustup, the official installer
17-
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.89.0
16+
# Install Rust and required toolchain
17+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
1818
ENV PATH="/root/.cargo/bin:${PATH}"
19+
WORKDIR /build
20+
COPY rust-toolchain.toml .
21+
RUN rustup show
1922

2023
# Install Rust dependencies
2124
RUN cargo install oas3-gen@0.24.0
2225

2326
# Build the Pluto CLI
24-
WORKDIR /build
2527
COPY . .
2628
RUN cargo build --locked --release --package pluto-cli
2729

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Dependencies](https://github.com/NethermindEth/pluto/actions/workflows/dependency-audit.yml/badge.svg)](https://github.com/NethermindEth/pluto/actions/workflows/dependency-audit.yml)
66
![Coverage](https://github.com/NethermindEth/pluto/wiki/coverage.svg)
77

8-
![Rust](https://img.shields.io/badge/rust-1.89-orange.svg)
8+
![Rust](https://img.shields.io/badge/rust-1.95-orange.svg)
99
[![License](https://img.shields.io/badge/License-BUSL_1.1-blue.svg)](https://spdx.org/licenses/BUSL-1.1.html)
1010

1111
Pluto is an alternative implementation of [Charon](https://github.com/ObolNetwork/charon/), a distributed validator middleware client for Ethereum Staking. It enables a group of independent operators to safely run a single validator by coordinating duties across multiple nodes.

0 commit comments

Comments
 (0)