This Docker container let's you build Defold in Linux environment targeting different platforms through Clang.
Currently supported platforms:
- Linux x86_64
- Linux arm64
- Download and install Docker from www.docker.com
- Build the container
defold$ ./scripts/docker/build.shIt builds multi-platform container (for x86_64 and arm64). If you need only x86_64 version you can run script with NO_ARM64:
defold$ NO_ARM64=1 ./scripts/docker/build.sh- Run the container (with or without path specified)
defold$ ./scripts/docker/run.sh [./path/to/folder]and it will mount that folder into the container, and you can start typing right away. If you want run Docker container for platform other than host platform - pass variable DM_DOCKER_BUILD_PLATFORM
defold$ DM_DOCKER_BUILD_PLATFORM=linux/amd64 ./scripts/docker/run.sh [./path/to/folder]Possible values: linux/amd64, linux/arm64.
- Run the debug script
defold$ ./scripts/docker/run.sh