Skip to content

Commit 95a9b29

Browse files
committed
.github/Dockerfile: install cargo
1 parent f325fda commit 95a9b29

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ ARG GROUP_ID=1000
1313
RUN groupadd -g ${GROUP_ID} ${GROUP} && useradd -m -u ${USER_ID} -s /bin/sh -g ${GROUP} ${USER}
1414
USER ${USER}:${GROUP}
1515

16+
ENV PATH="/home/${USER}/.cargo/bin:${PATH}"
17+
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
18+
RUN rustup toolchain install nightly-2024-11-29 --component llvm-tools --component rustc-dev --component rust-src
19+
RUN rustup default nightly-2024-11-29-x86_64-unknown-linux-gnu
20+
1621
RUN mkdir /home/${USER}/workspace
1722
WORKDIR /home/${USER}/workspace
1823

0 commit comments

Comments
 (0)