-
Notifications
You must be signed in to change notification settings - Fork 21
How to add a new software in to the projects? #12
Comments
That's the only thing that is implemented. Even that won't help unless you change where/how images are pulled, which you can do by modifying the cocalc-server pod. |
Could you please provide better instructions on how to do that? |
I've found it here (https://github.com/sagemathinc/cocalc/blob/master/src/smc_pyutil/smc_pyutil/smc_compute.py#L638). Is that correct? |
Yes, exactly. Edit the version of that file that is actually run (somewhere under /usr in cocalc-kubernetes server) and see a different image get pulled. Of course it would be better if there was a template file somewhere with the yaml that could be easily customized... |
That's what I was hoping to find. It looks like, by setting the environment variable |
It wouldn't be hard to change.. just edit smc_compute.py to load a template file instead of that string. Edit your template file. PR's welcome, and also paid consulting, or maybe I'll have time to just implement this (not sure). |
Are there easy way to add the new software in to the project?
Should I rebuild every time the Dockerfile:
and restart the pods?
The text was updated successfully, but these errors were encountered: