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

Set DEFAULT_USER as ENV on rocker/rstudio's Dockerfiles? #231

Closed
eitsupi opened this issue Aug 22, 2021 · 0 comments · Fixed by #227
Closed

Set DEFAULT_USER as ENV on rocker/rstudio's Dockerfiles? #231

eitsupi opened this issue Aug 22, 2021 · 0 comments · Fixed by #227

Comments

@eitsupi
Copy link
Member

eitsupi commented Aug 22, 2021

The non-root user that exists in rocker/rstudio and its derived images is created in the following process, but the name rstudio is not visible in the Dockerfiles, so we need to read the shell scripts thoroughly or run and check the containers.

DEFAULT_USER=${1:-${DEFAULT_USER:-rstudio}}
useradd -s /bin/bash -m $DEFAULT_USER

It will be easier for users to understand if DEFAULT_USER is displayed on the Dockerfiles.

eitsupi added a commit to eitsupi/rocker-versioned2 that referenced this issue Aug 28, 2021
and use it in scripts instead of the hard-coded username
close rocker-org#231
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant