Skip to content

Commit e122b49

Browse files
authored
Merge pull request #136 from alex/install-rust
Added Rust to the build image
2 parents f8db06c + e07d337 commit e122b49

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,11 @@ RUN bash Miniconda2-${RTD_CONDA_VERSION}-Linux-x86_64.sh -b -p /home/docs/.conda
219219
ENV PATH $PATH:/home/docs/.conda/bin
220220
RUN rm -f Miniconda2-${RTD_CONDA_VERSION}-Linux-x86_64.sh
221221

222+
# Install Rust
223+
ENV RTD_RUST_VERSION 1.46.0
224+
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain ${RTD_RUST_VERSION}
225+
ENV PATH="/home/docs/.cargo/bin:$PATH"
226+
222227
WORKDIR /
223228

224229
# Adding labels for external usage

0 commit comments

Comments
 (0)