-
Notifications
You must be signed in to change notification settings - Fork 12
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
Update the jupyterhub/repo2docker
image
#217
base: master
Are you sure you want to change the base?
Changes from all commits
3a7278b
0a76972
186673a
e960cfc
dd677da
0acb9e1
020b2e2
64bff01
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -268,6 +268,21 @@ tagged as `v0.1`: | |
tljh_plasma: git+https://github.com/plasmabio/[email protected]#"egg=tljh-plasma&subdirectory=tljh-plasma" | ||
``` | ||
|
||
## Using a specific version of `repo2docker` | ||
|
||
`repo2docker` is used to build the user environments from the Git repositories. | ||
|
||
By default the Ansible playbooks use a pinned version of the `jupyterhub/repo2docker`, which is defined in the | ||
`ansible/vars/default.yml` file. | ||
|
||
Like other Ansible variables, it is possible to use a different version of `repo2docker` by overriding the variable | ||
via the command line: | ||
|
||
```bash | ||
# use an older version of the repo2docker image | ||
ansible-playbook tljh.yml -i hosts -u ubuntu -e "repo2docker_docker_tag=2022.10.0-232.g0ea6f7d" | ||
``` | ||
|
||
## List of available playbooks | ||
|
||
The Ansible playbooks are located in the `ansible/` directory: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,4 +43,4 @@ export JUPYTER_PATH=${IMAGE_DIR}/.local/share/jupyter | |
cd ${IMAGE_DIR} | ||
|
||
# execute the notebook process as the given user | ||
exec su - $NB_USER -m -c '"$0" "$@"' -- "$@" | ||
exec su $NB_USER -m -c '"$0" "$@"' -- "$@" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK this seems to be doing the trick for being able able to launch the server. If I understand correctly, specifying As hinted by the the error logs:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to do a bit more testing on a test VM, but this change might break compatibility with existing environments built with an older version of |
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.
This is now opt-in in
dockerspawner>=12.0
: https://jupyterhub-dockerspawner.readthedocs.io/en/latest/changelog.html#id3Not sure why we didn't have to set it explicitly before, as it was updated in #193.