Closed elbarto1980 closed 11 months ago
Added GLEW and Draco, I tested this installation using _osgearthviewer readymap.earth. This warning is printed: void StateSet::setGlobalDefaults() ShaderPipeline disabled, but it seems to work fine.
Thanks for the PR! I was mostly using this Dockerfile for doing some data processing with osgearth_conv. Does this actually allow you to run osg and osgEarth within docker with nvidia acceleration?
Yes, it does. You have to start the docker container using docker compose up
. Then, in another terminal, run docker ps
to get the container's ID and finally use docker exec -it "CONTAINER ID" /bin/bash
to open a bash shell inside the container.
Let me know if you have any problems...
Awesome! Have you tried this on Windows at all or will this only work on Linux?
I am sorry but I don't have a Windows pc to try it on. I switched to Linux 7 yrs ago and never turned back. 😅
This is a docker upgrade, based on my current experience on OSG and osgearth. It uses Ubuntu 20.04.6 LTS (Focal Fossa) as base image and installs both OpenScenegraph 3.6.5 and osgearth. @jasonbeverage, feel free to modify it as you see fit.