feat(build): use dadk with version isolation (#10)

This commit is contained in:
Samuel Dai
2025-04-07 21:18:08 +08:00
committed by GitHub
parent 6f4144cc00
commit fa36c44f8f
3 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -12,6 +12,6 @@ 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
RUN cargo install --git https://github.com/DragonOS-Community/DADK.git --branch 007/docker-multiarch
ENTRYPOINT ["tini", "--"]
+5
View File
@@ -4,6 +4,11 @@
# Target architecture. Options: x86_64, riscv64
arch = "riscv64"
# Builer version, affect the behavior of image generation
# Options: v1, v2
# Default: v1, to be compatible with the old version
builder-version = "v2"
# Hypervisor config path
hypervisor-config = "config/hypervisor.toml"
+5
View File
@@ -4,6 +4,11 @@
# Target architecture. Options: x86_64, riscv64
arch = "x86_64"
# Builer version, affect the behavior of image generation
# Options: v1, v2
# Default: v1, to be compatible with the old version
builder-version = "v2"
# Hypervisor config path
hypervisor-config = "config/hypervisor.toml"