Docker builds for Godot Engine (headless) with export templates
The entrypoint calls the Godot Engine (/usr/local/bin/godot) so override the command with any arguments (default is --help).
version: '2'
services:
godot:
image: godot-headless:4.3-desktop
volumes:
- ./:/project
command: --path /project --export win64 bin/win64/maze-test.exe- Each major version has its Dockerfile and
versions.ymlundergodot4/andgodot3/. Update the relevantversions.yml(and setprovides_latest: trueonly for the major that should publish thelatesttag). - Run
bash scripts/update-godot.sh <version> <previous>locally to updategodot4/Dockerfile,godot4/versions.yml, and the README placeholders. (A similar helper can be added for the legacygodot3directory if needed.) - Or trigger the
Update Godot Versionworkflow under Actions → Update Godot Version and provide the version/previous tags; it will run the script above and open a pull request with the changes. - The DockerHub workflow syncs the repo's DockerHub description from this README automatically, so keep the summary section focused on what you want to display there.
- The DockerHub publishing workflows auto-run when files in their respective directories change:
Docker Godot 4builds the 4.x images, whileDocker Godot 3builds 3.x. You can also trigger them (or the manualSync README tagsworkflow) from the Actions tab to rebuild or refresh documentation on demand.
The tags follow the Godot version and allow for different export template installs (for filesize). When in doubt use the base version which includes all templates provided by Godot.
4.3,4.3-all,latest4.3-desktop4.3-linux4.3-macos4.3-windows4.3-win324.3-win64
4.3-mobile4.3-android4.3-ios
4.3-web
Prior versions:
4.2.24.2.14.24.1.34.1.24.1.14.14.0.34.0.24.0.14.0
Legacy versions also supported include:
3.5.3,3.5.3-all3.5.3-desktop3.5.3-linux3.5.3-osx3.5.3-windows3.5.3-win3.5.3-win323.5.3-win64
3.5.3-uwp3.5.3-uwp323.5.3-uwp64
3.5.3-mobile3.5.3-android3.5.3-iphone
3.5.3-html
Older Godot 3 releases:
3.5.23.5.13.53.4.53.4.43.4.33.4.23.4.13.43.3.43.3.33.3.23.3.13.33.2.3