Docker Container for Defold Build

Does anyone know if there are already any Docker containers out there with Defold’s build engine on them? This would be helpful for me in getting Continuous Integration and automating my deployment. If there isn’t one, is there a direct way to get the build engine that doesn’t require logging into the site so I can just pull it in to the Dockerfile?

1 Like

Hello!
On docker hubs there is some containers for downloading lates bob
https://hub.docker.com/search?q=defold&type=image

or:

In Britzl defold-test exist some example file to download bob and dmengine_headless to run it on your server

With it you can integrate your project to you CI.
You just need to download bob -> build it -> run with headless engine
Maybe you want to change bootstrap collection (for example, just run tests)
Or just make build executables and save it to download later

5 Likes

Thanks! This will allow me to use Gitlab CI to run builds and then deploy with itch.io’s Butler.

6 Likes

Isn’t bob getting replaced with something else soonish? Anybody know what that’ll look like?

1 Like

Yes, bob is getting replaced by the same build pipeline that we use in Editor 2.

What does this actually mean though? Will there be no “stand-alone” commandline tool or will there be one but how you interact with it is different or there will be a new one and the interface is the same.

Well, the editor should be able to run in headless mode and perform tasks like building and bundling.

Hey, I created one for myself recently. Maybe you will find it useful :slight_smile:

docker pull gmantaos/defold

https://hub.docker.com/r/gmantaos/defold

5 Likes