sagemathinc / cocalc-docker

DEPRECATED (was -- Docker setup for running CoCalc as downloadable software on your own computer)
https://cocalc.com
Other
398 stars 103 forks source link

GPU support issues #191

Open feliscat opened 1 year ago

feliscat commented 1 year ago

tensorflow:latest-gpu uses ubuntu 20.04, cocalc-docker uses 22.10 and pgsql14. This causes issues when trying to build the docker with GPU support.

I added these lines to the Dockerfile at 212:

npm -i g npm@latest \
&& npm install -g n \
&& n stable \
&& npm install -g node-gyp --install=global

so that ijavascript can compile.

Then I followed the pgsql install guide, added the install directions to the top of the Dockerfile, and changed the apt install line to explicitly install postgresql-14.

The container then built and ran correctly.

arm2arm commented 1 year ago

I am wondering why cocalc docker moved to unstable non LTS ubuntu? @williamstein are there any good reason?

williamstein commented 1 year ago

It's just a much more up to date and modern stack. That's all. We do not have a lot of time or resources right now to devote to cocalc-docker, but I'm very open to any community contributions.