-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ci' into timers-mips64
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
dockers/xtensa-esp32/rust-dependencies/mips64el-rust.dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM ubuntu:latest | ||
|
||
# Update packages and install necessary dependencies | ||
RUN apt update && apt install -y curl build-essential lld | ||
# Install rustup, the Rust version manager | ||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
# Add .cargo/bin to PATH | ||
ENV PATH="/root/.cargo/bin:${PATH}" | ||
# Install nightly toolchain and set Rust version 1.71 as the default version | ||
RUN rustup toolchain install nightly && rustup default 1.71 | ||
# Adding a target platform for compilation | ||
RUN rustup target add mips64el-unknown-linux-gnuabi64 | ||
# Adding components to the nightly toolchain | ||
RUN rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu |