运行在docker中完成所有生成iso的动作

This commit is contained in:
fslongjin
2022-07-25 20:34:57 +08:00
parent 63c40fec13
commit b1f7845520
2 changed files with 66 additions and 45 deletions

View File

@ -3,5 +3,5 @@ p=`pwd`
cpu_count=$(cat /proc/cpuinfo |grep "processor"|wc -l)
docker run -v $p:/data --name dragonos-build -i dragonos-dev:v1.0 bash << EOF
cd /data
make -j ${cpu_count}
bash run.sh --current_in_docker
EOF