Skip to content

Commit 745557d

Browse files
d3zd3zstephanosio
authored andcommitted
Specificy explict rust version
By default, rustup installs the "latest" stable version of the rust toolchain. Instead, fix this to a specific version. This serves two purposes: - It becomes possible to map a docker image version to a specific version of the rust toolchain that it contains. - It makes upgrades explicit, especially when features of a specific version are needed. This sets the version to the current stable version: 1.86. Signed-off-by: David Brown <[email protected]>
1 parent 7bf927d commit 745557d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RUN mkdir -p /opt/bsim_west && \
8888
ln -s /opt/bsim_west/bsim /opt/bsim
8989

9090
# Install cargo environment
91-
RUN wget -q -O- "https://sh.rustup.rs" | sh -s -- -y
91+
RUN wget -q -O- "https://sh.rustup.rs" | sh -s -- -y --default-toolchain 1.86
9292

9393
# Install uefi-run utility
9494
RUN ~/.cargo/bin/cargo install uefi-run --root /usr

0 commit comments

Comments
 (0)