Comments (3)
Right, I think we should just have the block
COPY . ${HOME}
USER root
RUN chown -R ${NB_UID} ${HOME}
USER ${NB_USER}
built into the rocker/binder
Dockerfiles here to begin with. I believe that's what the default Dockerfile already does in binder, so it makes sense we copy that behavior. @yuvipanda is there a reason we haven't done this with the Dockerfiles here?
(of course it's a pity Docker doesn't support a more elegant handling of this / of non-root user permission model in general, but that issue is above my pay grade)
from binder.
pinging @yuvipanda Should we add the above to these Dockerfiles? This is necessary to get the install.R
behavior shown on https://github.com/binder-examples/dockerfile-rstudio to actually work, right? Should we also add the RUN call to run any install.R
script it finds?
Thanks!
from binder.
Not sure what I was thinking, clearly COPY has to be done in the repo's Dockerfile and not here. Sent a PR to add it to the binder-examples/dockerfile-rstudio, which was missing the chown
commands.
from binder.
Related Issues (20)
- shiny support via binder. HOT 4
- What other features are missing still? HOT 12
- Safari browser cannot open Terminal session in RStudio Server HOT 2
- support servr HOT 1
- Base image: moving rocker/binder higher in the stack? HOT 4
- error with DIY deploy from new binder docs HOT 4
- R 3.4.3 not working HOT 1
- Binder + Jupyter Lab + SSL? HOT 6
- why based on geospatial? HOT 7
- images built on `rocker/binder` can't run RStudio on mybinder.org HOT 14
- 404 not found error with jupyterlab HOT 1
- caret and rsample packages HOT 3
- bug with R 4.0.0 and 4.0.2 containers HOT 10
- Use of rstudio and joyvan home directories HOT 7
- Site not launching? HOT 2
- 500: Internal Server Error HOT 2
- Run locally on docker failing HOT 1
- rstan or cmdstanr packages don't work HOT 3
- Question: Can we get a `rocker/binder:unstable` image?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binder.