Dockerfile 692 B

1234567891011121314151617
  1. FROM docker.educg.net/cg/os-contest:20250226
  2. RUN apt update
  3. RUN apt install -y --no-install-recommends \
  4. bison flex libssl-dev bridge-utils dnsmasq sudo iptables
  5. RUN rustup install nightly-2024-11-05
  6. RUN rustup default nightly-2024-11-05
  7. RUN rustup target add riscv64gc-unknown-none-elf --toolchain nightly-2024-11-05
  8. RUN rustup component add rust-src --toolchain nightly-2024-11-05
  9. RUN rustup component add clippy --toolchain nightly-2024-11-05
  10. RUN rustup component add rustfmt --toolchain nightly-2024-11-05
  11. RUN cargo +nightly-2024-11-05 install cargo-binutils
  12. RUN cargo install --git https://github.com/Samuka007/DADK.git --branch 007/breaking-output-path
  13. ENTRYPOINT ["tini", "--"]