Skip to content

oomol-lab/ovm-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

make commands

  • macos_arm64 : make ovm bootable image for macos arm64
  • wsl2_amd64 : make ovm wsl2 rootfs distribute

Development environment

  • SKIP_BUILD_PROOT=true: Skip build proot
  • SKIP_APT_GET_INSTALL=true: Skip apt update && apt install -y required package
  • VM_PROVIDER=qemu: using qemu as vm provider

Dockerfile

docker build --no-cache -t ubuntu-noble-build .
# Only if you need proxy
docker build --no-cache \
    --build-arg http_proxy=http://192.168.1.250:2020 \
    --build-arg https_proxy=http://192.168.1.250:2020 \
    -t ubuntu-noble-build .


# Run container to build bootable-arm64.img.zst
docker run -it --privileged -v ./output:/root/MkRoot/output ubuntu-noble-build
# Only if you need proxy
docker run -it --privileged -v ./output:/root/MkRoot/output \
    -e http_proxy=http://192.168.1.250:2020 \
    -e https_proxy=http://192.168.1.250:2020 ubuntu-noble-build