mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +00:00
scripts: dev_cli.sh: add option to specify container runtime
For example: ```shell ./scripts/dev_cli.sh build --release --libc musl --runtime "sudo nerdctl" ``` works. And presumably podman as well. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
de1af55e22
commit
88ed85247e
@ -226,6 +226,11 @@ cmd_build() {
|
||||
} ;;
|
||||
"--debug") { build="debug"; } ;;
|
||||
"--release") { build="release"; } ;;
|
||||
"--runtime")
|
||||
shift
|
||||
DOCKER_RUNTIME="$1"
|
||||
export DOCKER_RUNTIME
|
||||
;;
|
||||
"--libc")
|
||||
shift
|
||||
[[ "$1" =~ ^(musl|gnu)$ ]] ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user