mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 10:15:03 +00:00
feat(build): use dadk with version isolation (#10)
This commit is contained in:
parent
6f4144cc00
commit
fa36c44f8f
@ -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 rustup component add rustfmt --toolchain nightly-2024-11-05
|
||||||
RUN cargo +nightly-2024-11-05 install cargo-binutils
|
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", "--"]
|
ENTRYPOINT ["tini", "--"]
|
@ -4,6 +4,11 @@
|
|||||||
# Target architecture. Options: x86_64, riscv64
|
# Target architecture. Options: x86_64, riscv64
|
||||||
arch = "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 path
|
||||||
hypervisor-config = "config/hypervisor.toml"
|
hypervisor-config = "config/hypervisor.toml"
|
||||||
|
|
||||||
|
@ -4,6 +4,11 @@
|
|||||||
# Target architecture. Options: x86_64, riscv64
|
# Target architecture. Options: x86_64, riscv64
|
||||||
arch = "x86_64"
|
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 path
|
||||||
hypervisor-config = "config/hypervisor.toml"
|
hypervisor-config = "config/hypervisor.toml"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user