mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 14:16:47 +00:00
17 lines
697 B
Docker
17 lines
697 B
Docker
FROM docker.educg.net/cg/os-contest:20250226
|
|
|
|
RUN apt update
|
|
RUN apt install -y --no-install-recommends \
|
|
bison flex libssl-dev bridge-utils dnsmasq sudo iptables
|
|
|
|
RUN rustup install nightly-2024-11-05
|
|
RUN rustup default nightly-2024-11-05
|
|
RUN rustup target add riscv64gc-unknown-none-elf --toolchain nightly-2024-11-05
|
|
RUN rustup component add rust-src --toolchain nightly-2024-11-05
|
|
RUN rustup component add clippy --toolchain nightly-2024-11-05
|
|
RUN rustup component add rustfmt --toolchain nightly-2024-11-05
|
|
RUN cargo +nightly-2024-11-05 install cargo-binutils
|
|
|
|
RUN cargo install --git https://github.com/DragonOS-Community/DADK.git --branch 007/docker-multiarch
|
|
|
|
ENTRYPOINT ["tini", "--"] |