• Resources
  • Docker images for building the engine and templates

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.)

You might also want to jump onto the developers irc and see if there is perhaps interest from the project to host these on the site or something too.

I checked out that repository and tried building the images.

What I found was that these images are meant to build Godot from the official repository, with Mono support, and with no custom modules. And while that is great, it isn't really what I had in mind. And since I find it harder to derive from the official build containers, than build on what I've already done, I guess I won't be abandoning my own project for now. I'll try to create images for MacOS and iOS too. :)

2 months later

post deleted due to problem between seat and keyboard

(I entirely misread the post, sorry O:) )

3 years later
  • [deleted]

Is that maintained ? The url don't work anymore :/