-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an image with software OpenGL enabled (sample working Dockerfile included) #102
Labels
enhancement
New feature or request
Comments
myaaaaaaaaa
changed the title
Add an image with software rendering enabled (sample working Dockerfile included)
Add an image with software OpenGL enabled (sample working Dockerfile included)
Dec 6, 2022
@myaaaaaaaaa This looks good to me, would you like to open a PR? |
@realkotob Thanks! This does add several gigabytes of dependencies to the image though, so it's probably not the best idea to just patch the main Dockerfile and call it a day. I think it's better to wait for someone more familiar with Docker and its best practices who will be able to add this to the release workflow properly as a separate image. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following Dockerfile builds on top of
godot-ci:latest
, bundles in the standard graphics-capable Godot build, installs the needed dependencies for running it on a server, and adds agodot_x11
wrapper script for running it with a dummy x11 server. I've confirmed that this is enough to run Godot with working software OpenGL (specifically, https://github.com/RodZill4/material-maker , which relies on GLSL, will correctly export textures)Needed for adding CI tests to Material Maker, although there are almost certainly other projects that would find this useful.
The text was updated successfully, but these errors were encountered: