Commit Graph

34 Commits

Author SHA1 Message Date
Ayaz Salikhov
00e591fcf0 Add docker.io to more places 2023-10-20 00:43:18 +02:00
Yuvi Panda
bceaead5d2 Migrate start-notebook & start-singleuser to python (#2006)
* Migrate start-notebook.sh to bash

Based on

> Stop using bash, haha 👍

from https://github.com/jupyter/docker-stacks/issues/1532.

If there's more apetite for this, I'll try to migrate
`start.sh` and `start-singleuser.sh` as well - I think they should
all be merged together. We can remove the `.sh` suffixes for
accuracy, and keep symlinks in so old config still works. Since
the shebang is what is used to launch the correct interpreter,
the `.sh` doesn't matter.

Will help fix https://github.com/jupyter/docker-stacks/issues/1532,
as I believe all those things are going to be easier to do from
python than bash

* Rename start-notebook.sh to start-notebook

* Cleanup start-notebook a little

* Fix typo

* Migrate start-singleuser as well

* Remove unused import

* Run symlink commands as root

* Combine repetitive RUN commands

* Remove multiple args to env

-u can not be set by shebang, we must set the env var
instead

* Fix conditional inversion

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

* Fix how start-singleuser is exec'd

* Actually call jupyterhub-singleuser in start-singleuser

* Pass through any additional args we get

* Put .py suffix on the start-* scripts

* Add .sh shims for the start-* scripts

* Document start-notebook.sh and start-singleuser.sh

* Partially test start-notebook.sh

* Reflow warning docs

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-10-17 14:46:43 +02:00
Ayaz Salikhov
bfe5f20914 Use correct ServerApp options in examples and tests (#1947) 2023-07-26 20:09:47 +04:00
Ayaz Salikhov
d42a0b8ffa Rename master->main in all the source code 2022-07-07 14:51:09 +04:00
Ayaz Salikhov
bcf5118cb7 Fix minor PyCharm issues 2022-03-19 00:15:27 +02:00
romainx
4bef40f531 Switch the default to jupyter_server_config.py 2022-02-11 23:03:11 +01:00
Ayaz Salikhov
d3adf90e91 More docs cleanup 2022-02-04 02:02:53 +03:00
Ayaz Salikhov
28a0f4c8b4 Cleanup docs 2022-02-02 01:19:38 +03:00
Ayaz Salikhov
1fce48cd6c Use mamba instead of conda where possible 2021-08-24 23:41:32 +03:00
Ayaz Salikhov
334381dfe2 Limit markdown line length to 200 2021-06-21 12:59:21 +03:00
Ayaz Salikhov
0999f1a36f Unify bash variables usage and add quotes where needed 2021-05-26 13:06:10 +03:00
Ayaz Salikhov
ccebe16e6e More installation updates 2021-05-25 14:34:02 +03:00
Ayaz Salikhov
3734d39090 Fix shellcheck warnings 2021-05-20 15:38:03 +03:00
Ayaz Salikhov
57c360e485 Merge branch 'master' into asalikhov/make_markdown_prettier 2021-05-19 12:42:44 +03:00
Ayaz Salikhov
453556b2c4 Make markdown files look prettier using prettier :) 2021-05-07 00:53:06 +03:00
Ayaz Salikhov
019b5a76b0 Make css, json and yaml style identical 2021-05-07 00:34:43 +03:00
Ayaz Salikhov
451544c956 Fix some errors 2021-05-01 13:36:47 +03:00
Ayaz Salikhov
c5aa354b09 Fix more errors 2021-05-01 13:29:58 +03:00
Ayaz Salikhov
c2031e2a4a Fix more errors 2021-05-01 13:07:40 +03:00
Ayaz Salikhov
bf5ec600d1 Use mdlint rules [WIP] 2021-05-01 12:52:41 +03:00
Ayaz Salikhov
b6d96d1ca2 Improve documentation 2020-05-28 11:47:48 +02:00
echowhisky
40c5c07b0a added -f flag to all conda clean commands
This commit adds the additional `-f` force command to all uses of `conda
clean --all` through the repo. Size should be smaller, but still testing
if anything breaks. See issue #861.
2019-05-04 19:11:32 +00:00
echowhisky
1f8311a7aa changed -tipsy to --all -y across all files
The last commit was only for the base-notebook's Dockerfile. For this,
all the files in the repo were grepped through and changed.
2019-05-04 18:53:49 +00:00
Graham Dumpleton
fe85a0d172 Disable mounting of service account token under OpenShift. 2018-11-26 17:10:50 +11:00
Graham Dumpleton
9850b5710e Correct URL in Source-to-Image template to reference master branch. 2018-02-20 12:21:19 +11:00
Graham Dumpleton
d2cfd3de0d Avoid relying on existence of work subdirectory in Source-to-Image examples. 2018-02-20 10:52:47 +11:00
Graham Dumpleton
9e9ca7344c Fix URLs for location of Source-to-Image example directory in master. 2018-02-19 14:14:18 +11:00
Graham Dumpleton
9b78b0c13c Add README for Source-to-Image examples directory. 2018-02-19 13:49:29 +11:00
Graham Dumpleton
f0cdbd536b Remove packages file from image when using Source-to-Image before doing a build, rather than after. 2018-02-19 13:17:54 +11:00
Graham Dumpleton
52fba5967f Add OpenShift template for building, but not deploying an image using Source-to-Image builder. 2018-02-19 11:43:20 +11:00
Graham Dumpleton
f87dec5936 Add template for using Source-to-Image builder scripts with OpenShift. 2018-02-18 21:58:43 +11:00
Graham Dumpleton
49fe302e4a Ensure assemble script of Source-to-Image script logs progress. 2018-02-18 21:54:47 +11:00
Graham Dumpleton
92843575a4 Add save-artifacts script to Source-to-Image to avoid warnings/errors. 2018-02-18 21:43:00 +11:00
Graham Dumpleton
bad4f68608 Add example Source-to-Image scripts for building custom notebook images. 2018-02-18 20:58:32 +11:00