Cross-building environment for Odin+Raylib project with Rayode template
75
Rayode is a template repository to quick start a Odin+Raylib project. In addition of that, it try to provides a versatile project management and build environment.
This image can be used to create an interactive container to build Linux native project with Odin and Raylib.
The following command ensure to run a building container with required mountpoints:
docker run -it --rm \
--mount type=bind,source=./build,target=/rayode/build \
--mount type=bind,source=./src,target=/rayode/src \
--mount type=bind,source=./collections,target=/rayode/collections \
--mount type=bind,source=./assets,target=/rayode/assets \
--mount type=bind,source=./data,target=/rayode/data \
cherrymad/rayode:linux /bin/bash
Once in the container environment, run /bin/bash build.sh [PROJECT_NAME] to compile the binaries and generate a .ZIP archive that embed assets, data and the compiled ELF64 executable.
NOTE: The Raylib library is statically linked in the binary.
to draft
to draft
Content type
Image
Digest
sha256:a9dd13ec1…
Size
924.1 MB
Last updated
almost 2 years ago
docker pull cherrymad/rayode:linux