-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: add rstudio #172
feat: add rstudio #172
Conversation
79cccc7
to
94e0c7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this.
However, for several reasons, I believe this needs a major rewrite.
- Please do not copy scripts from https://github.com/rocker-org/rocker-versioned2. https://github.com/rocker-org/rocker-versioned2 is licensed under GPL-2.0 or later, so anything copied from it cannot be included in this repository under the MIT license.
- It would be better not to depends on the
apt-packages
Feature.apt-packages
is a very simple script and is unlikely to be updated, so I see no advantage in choosing to rely on it over copying it. - I don't think creating the default user here is a good idea. Shouldn't
common-utils
be used to create the user? README.md
is automatically generated by the CI, so please don't write by hand.
I have opened a new PR #174.
I will look at this in the next few days.
Hi @eitsupi,
Ouch I didn't notice the different license, thanks for pointing it out.
You mean instead of running
That's a great point - I didn't realize
I know, I wasn't sure if the automation assumed a README was there so I just added a very simple one. In any case, given that you've opened up #174 I think we can close this... |
When do you mean repeat builds? |
Each feature goes into its own layer. So if I am making a change to the |
My understanding is that if no edits are made on devcontainer.json the layers of each Feature are not changed, for example if you change the options for another Feature, the |
It depends - if I don't provide a full version, e.g. |
Thanks, that makes sense. Given such benefits, I think devcontainers should provide a Feature to do so...... (devcontainers/features#537) |
Oh great, I wasn't aware of that, thank you for linking the issue. |
In fact, this (devcontainers/features#67) is where the Since there was no indication that they would implement it I tried here. |
Here is an attempt to add an RStudio feature.
I was having some issues getting the no-auth to work, I could use some hints. Basically the browser entered into some sort of redirect loop; with auth it works fine.
Also note that this is using a feature preview of the devcontainers feature spec, namely the
dependsOn
property so schema checkers complain.An example
devcontainer.json
:Some things left to do:
closes #71