1
0
mirror of https://github.com/rancher/os.git synced 2025-09-05 00:37:12 +00:00
Files
os/scripts/qemu-wrapper
2021-10-29 23:08:26 -07:00

7 lines
216 B
Bash
Executable File

#!/bin/bash
set -x -e
BASE=$(dirname $0)/..
docker build -t ros-qemu -f ${BASE}/Dockerfile.kvm ${BASE}
exec docker run -it --rm --net=host -v $(dirname $(pwd)):$(dirname $(pwd)) -w $(pwd) --privileged ros-qemu "$@"