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

add LegacyBinderDockerfile buildpack #16

Merged
merged 4 commits into from
May 25, 2017

Conversation

minrk
Copy link
Member

@minrk minrk commented May 25, 2017

only run on dockerfiles with FROM andrewosh/binder-base

  • installs required versions of ipykernel, jupyterhub, notebook
  • registers kernelspecs explicitly
  • launches notebook server with python3 env
  • removes nb_conda_kernels, which was causing trouble when not launched from the root env
  • sets JUPYTER_PATH so kernelspecs and extensions that were being installed into the python 2 env should still be picked up

minrk added 3 commits May 25, 2017 15:09
use stdout.write otherwise
- stages files, which previous binder did automatically and repo2docker does not
- installs required versions of ipykernel, jupyterhub, notebook
- registers kernelspecs explicitly
- launches notebook server with python3 env
- removes nb_conda_kernels, which was causing trouble
- sets JUPYTER_PATH so kernelspecs and extensions that were being installed into the python 2 env will still be picked up
else:
sys.stdout.write(progress['stream'])

_legacy_binder_docker_appendix = """
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you move this to be a traitlet under the Legacy Builder? keeps it contained and out of the global namespace of the file, + possibly allows overrides if needed...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, done.

@minrk minrk force-pushed the old-binder-dockerfile branch from d2b6dce to 82ccb38 Compare May 25, 2017 22:37
@yuvipanda yuvipanda merged commit b1f12d9 into jupyterhub:master May 25, 2017
@minrk minrk deleted the old-binder-dockerfile branch May 23, 2018 11:15
shota-matsumoto-lm referenced this pull request in lifematics/CS-repo2docker Feb 1, 2024
Show human readable value for mem and cpu limits
yacchin1205 pushed a commit to yacchin1205/repo2docker that referenced this pull request Apr 4, 2024
[GRDM-42299] Upstreamの取り込み (2024.03.0)
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

Successfully merging this pull request may close these issues.

2 participants