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

default home directory vs repo directory #27

Open
scottyhq opened this issue Jul 30, 2019 · 0 comments
Open

default home directory vs repo directory #27

scottyhq opened this issue Jul 30, 2019 · 0 comments

Comments

@scottyhq
Copy link
Contributor

cross posting pangeo-data/pangeo-stacks#62:

The build scripts between hubploy (https://github.com/yuvipanda/hubploy/blob/master/hubploy/imagebuilder.py used in pangeo-cloud-federation) and pangeo-stacks (https://github.com/pangeo-data/pangeo-stacks/blob/master/build.py) are slightly different.

An image built with hubploy currently drops a user into a jupyter session in the srv/repo directory https://github.com/yuvipanda/hubploy/blob/master/hubploy/imagebuilder.py#L42

The same image definition built in pangeo-stacks puts a user in /home/jovyan (which is what we want for jupyterhubs and binder).

I'm guessing these directories are best specified at build time. Or is it also okay to specify an environment variable like JUPYTER_SERVER_ROOT in a postBuild script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant