Skip to content

Commit 404fd0a

Browse files
committed
Fix docker build
1 parent 46d9bac commit 404fd0a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,9 @@ RUN curl -sSLO https://github.com/Kitware/CMake/releases/download/v3.25.1/cmake-
2222
&& mkdir -p /opt \
2323
&& mv cmake-3.25.1-linux-x86_64 /opt/cmake
2424
ENV PATH /opt/cmake/bin:$PATH
25+
26+
ENV CARGO_HOME=/opt/rust/cargo \
27+
RUSTUP_HOME=/opt/rust/rustup \
28+
PATH=$PATH:/opt/rust/cargo/bin
29+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
30+
sh -s -- --default-toolchain 1.76.0 -y --profile minimal

0 commit comments

Comments
 (0)