DragonOS/.devcontainer/Dockerfile
Samuel Dai 153b7a6cb8
feat(CI): Build both platform image without edit configs (#3)
* feat(ci): additional dadk manifest for CI, add container capable rv64 run arg and gendisk cmd

* feat(build): kernel compiling(linking) from diff-arch nolonger needs to make clean

* breaking: use ci-command to run targets, enable both arch to build together

* fix: specify toolchains and the dadk menifest for user program, and add nessesary toolchain. Now riscv64 ver of DragonOS can run into user mode.

* fix(env): cleanup dirty configs, add make clean back

* fix(build): update permission with whoami, and nolonger compile grub in rv64 building.

* feat(ide): support for vscode debuging, using lldb plugin

* feat(ci): automate u-boot download and installation for riscv64
2025-03-18 15:20:54 +08:00

16 lines
677 B
Docker

From docker.educg.net/cg/os-contest:20250226
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/Samuka007/DADK.git --branch 007/breaking-output-path
ENTRYPOINT ["tini", "--"]