Closed accetto closed 3 years ago
This is actually not a bug, but a compromise decision taken during development. I try to keep the images slim and therefore I try to include only a minimum of necessary packages.
However, Firefox
requires the mesa-utils
package to be installed to pass the WebGL
test from above. Interestingly enough, Chromium
doesn't require that.
Because the mesa-utils
package adds 143MB to the image, which is almost a half of the base image accetto/ubuntu-vnc-xfce-g3:vnc
size, I've decided against it.
There are several ways to get a Firefox image, which passes the WebGL
test, if you really need it:
You can install the mesa-utils
package in the runtime using sudo apt-get update && sudo apt-get install -y mesa-utils
.
You can modify the Dockerfile
and built a new image locally.
You can use one of the Firefox
images from the Docker Hub repository accetto/ubuntu-vnc-xfce-opengl-g3, because the images from the project accetto/headless-drawing-g3 already include support for OpenGL/WebGL/VirtualGL
.
You can use one of the bigger Firefox
images of the Generation 2 (accetto/xubuntu-vnc-novnc-firefox) or Generation 1 (accetto/ubuntu-vnc-xfce-firefox-default, accetto/ubuntu-vnc-xfce-firefox-plus).
If navigating to the URL https://get.webgl.org, then Firefox displays the following text: