xref: /DragonOS/tools/build_in_docker.sh (revision 047c5302e824da943e80a17b63bcb04cb667042a)
1docker rm -f dragonos-build
2p=`pwd`
3cpu_count=$(cat /proc/cpuinfo |grep "processor"|wc -l)
4docker run -v $p:/data --name dragonos-build -i dragonos/dragonos-dev:v1.0 bash << EOF
5cd /data
6bash run.sh --current_in_docker
7EOF