Skip to content
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

Have some default interpreter languages available in ide.coder.com - Node/npm, Python, Ruby, etc. #37

Closed
SHoar opened this issue Mar 6, 2019 · 12 comments
Labels
enhancement Some improvement that isn't a feature

Comments

@SHoar
Copy link

SHoar commented Mar 6, 2019

This is a great cloud IDE, although the setup to get going is a little surprising. I was expecting some baseline versions of node/npm, or python, or even ruby to get going, but none were available from the get go. I manually curled the latest LTS node.js (10.15) and created an alias for it, but didn't have time to get an alias for npm or npx working. but I like vscode in the browser! just need to be able to build the code too...

@SHoar SHoar changed the title Have some default interpreter languages available - Node/npm, Python, Ruby, etc. Have some default interpreter languages available in ide.coder.com - Node/npm, Python, Ruby, etc. Mar 6, 2019
@thopdev
Copy link

thopdev commented Mar 6, 2019

You can mount node.

See: https://coder.com/docs/languages

@SHoar
Copy link
Author

SHoar commented Mar 6, 2019 via email

@thopdev
Copy link

thopdev commented Mar 6, 2019

Yes, their are multiple versions you can choose.

@kylecarbs
Copy link
Member

We'll be removing the language mounting soon, as it promoted other issues.

We can provide default versions installed on your server. Maybe just installing something like n would suffice?

@kylecarbs
Copy link
Member

cc: @sreya92 @ammario

We could add some initial languages to reduce the amount users need to install immediately.

@SHoar
Copy link
Author

SHoar commented Mar 7, 2019 via email

@nhooyr nhooyr added the enhancement Some improvement that isn't a feature label Mar 8, 2019
@TaylorWorthing
Copy link

Instead of including versions of multiple languages in the default container, what about "flavors" of the container using labels? This would also allow version-pinning of that language while allowing updates to the container to persist.

Ruby for example:

codercom/code-server # aka latest (no ruby)
codercom/code-server:ruby # aka ruby-latest
codercom/code-server:ruby-v2.5.5
codercom/code-server:ruby-v2.6.2
...

The main issue with this approach is it would require a large build pipeline to rebuild each container version when the base image updates.

A middle-ground would be singular language-specific container labels, that are always up-to-date, but also contain pre-configured version managers for that language (if one is available). Less build overhead, but might require a little more work on the user side.

@TaylorWorthing
Copy link

Hmm, when writing my suggestion, I was in the mindset of "one container per project". I appears that a popular use case is "one container for all projects". Might have to get creative to handle this use case.

@ammario
Copy link
Member

ammario commented Mar 15, 2019

We have to do this in a way that doesn't increase the time it takes to create the initial disk.

Will report back when fixed.

@nol166
Copy link
Contributor

nol166 commented Apr 3, 2019

This issue relates to coder's hosted version of the IDE rather than code-server. Moved to: https://github.com/codercom/frontend/issues/478

@aaaguirrep
Copy link

You can mount node.

See: https://coder.com/docs/languages

Is the link working? I can't access.

@coadler
Copy link
Member

coadler commented Jun 28, 2019

This issue pertained to the coder hosted platform that no longer exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some improvement that isn't a feature
Projects
None yet
Development

No branches or pull requests

9 participants