diff --git a/Dockerfile b/Dockerfile index f03604b..ca61db0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,8 +28,8 @@ RUN curl -sSLO https://github.com/Kitware/CMake/releases/download/v3.25.1/cmake- && mv cmake-3.25.1-linux-x86_64 /opt/cmake ENV PATH /opt/cmake/bin:$PATH +ENV RUSTUP_HOME=/rust/rustup CARGO_HOME=/rust/cargo PATH=$PATH:/rust/cargo/bin RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal -ENV PATH /root/.cargo/bin:$PATH RUN groupadd -g ${GID} builder && \ useradd --create-home --uid ${UID} --gid ${GID} builder