Hello everyone! This is my first post here!
A little back-story: I recently started messing around with Godot. And because I've been programming with C++ for as long as I can remember, I wondered whether I could use C++ for making a game, instead of GDScript. So I dug into the documentation and the web and found that the best way (for me) would be with custom modules. And that the engine/templates will need to be compiled for every platform. I did that, and it works. However, if anyone else wanted to go the same way, they would have to go through the (sometimes complex) setup for every platform. And then I remembered that there is Docker… so I tried to find Docker images on the docker hub but found nothing… and
I created Dockerfiles for the creation of images that can build the editor and templates, for the platforms that it is plausible to do with Docker: Linux (32 and 64 bit), Windows (32and 64 bit), Android and Web.
You can find them in this GitLab repository: https://gitlab.com/bluabito/godot-docker
There is info about how to build and use the images, and they can be used for just building the unmodified editor and templates, or for building them with your custom modules. The only requirement - Docker! This way the complex setup (e.g. for Android) can be avoided. I haven't uploaded built images to the dockerhub, because some of those would be very big (the Android one is like 5GB) but they are very easy to build anyway.
The obvious ones that are missing are MacOS and iOS. Godot's documentation describes how you can cross-compile from Linux for those platforms, so I might try to make Dockerfiles for them too, but haven't had the time yet. Also, these images will probably turn out to be even bigger.
I hope this would be helpful to somebody. In any case, have fun, and feel free to comment and suggest improvements.
(I'll post this to Reddit too.)