Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 772 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 772 Bytes

Docker OSv builder

Docker container along with other scripts to build OSv kernel and packages

Build container

docker build -t osv/builder .

Run container

docker run -it --privileged --volume="$PWD/result:/result" osv/builder

After starting you will end up in /capstan-packages directory where you can execute build_packages.sh scripts to build all and individual packages like so:

./build_packages.sh all
./build_packages.sh osv_loader_and_bootstrap # builds kernel
./build_packages.sh generic_app "ffmpeg" "4.0.2" "/ffmpeg.so -formats" #builds specific app package

Resulting mpm files will end up in /capstan-packages/output.

The publish_packages.sh script can be used to copy produced artifacts to the local $HOME/.capstan repository.