This is the build environment for creating the lib folder contents in CI/CD.
It is essentially all the build tools required for creating the FastEdge runtime wasm.
Tools include things like:
Clang18 / Cmake / Rust / wasm32-wasi toolchain etc..
docker build -t harbor.p.gc.onl/fastedge/clang-monkey-compiler:0.0.1 -f ./compiler/Dockerfile .
docker login https://harbor.p.gc.onl/
docker push harbor.p.gc.onl/fastedge/clang-monkey-compiler:0.0.1
This uses the compiler image from above harbor.p.gc.onl/fastedge/clang-monkey-compiler:0.0.1
and loads the codebase ready for compiling.
docker build -t clang-monkey .
Then run it to compile the binary files:
- release build
docker run -v $(pwd)/lib:/usr/src/app/lib clang-monkey
- dev build
docker run -v $(pwd)/lib:/usr/src/app/lib clang-monkey --debug