Commit Graph

17 Commits

Author SHA1 Message Date
Ayaz Salikhov
f8cd90ade1 Add an ability to specify registry when using docker images (#2008)
* Add an ability to specify registry when using docker images

* Fix typo

* [TMP] Speedup workflow

* Revert "[TMP] Speedup workflow"

This reverts commit 3af0055ccf.
2023-10-19 21:15:10 +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
Bjørn Jørgensen
52a999a554 Upgrade Apache Spark to 3.5.0 (#1995)
* 1.

* add note for pandas version

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update images/pyspark-notebook/Dockerfile

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-09-16 20:56:10 +04:00
Ayaz Salikhov
3675f63d08 Test run_hooks when executables fail (#1987) 2023-09-04 19:50:30 +04:00
Albert R. Gnadt
3d3aa48b22 Update setup-julia.bash with Julia v1.9.3 (#1985) 2023-08-28 22:16:27 +04:00
Ayaz Salikhov
0d8b4e4987 Replace os with pathlib where paths are used (#1984) 2023-08-26 17:41:40 +04:00
Ayaz Salikhov
6aded4bc1d Fix style 2023-08-26 01:39:26 +04:00
Ayaz Salikhov
04b3d0c8df Use _log functions in start.sh 2023-08-26 01:19:34 +04:00
Ayaz Salikhov
cc47dbd7d8 Preserve LD_LIBRARY_PATH in start.sh (#1981) 2023-08-25 13:47:52 +04:00
Ayaz Salikhov
44f9962dcb Specify /bin/bash shell in useradd (#1980) 2023-08-25 11:20:35 +04:00
Ayaz Salikhov
74bbd0bffc Implement run-hooks as a separate script (#1979)
* Implement run-hooks as a separate script

* Add more tests

* Add more docs
2023-08-25 01:53:00 +04:00
Ayaz Salikhov
d400e383cc Update some links 2023-08-24 01:52:38 +04:00
Ayaz Salikhov
5f8524df5b Use long options in useradd (#1978) 2023-08-21 10:25:09 +02:00
Ayaz Salikhov
cf9a8b6624 Small improvements to startup hooks (#1976)
* Small improvements to startup hooks

* Fix
2023-08-20 16:55:54 +02:00
Ayaz Salikhov
e6f209e372 Revert images/r-notebook/README.md 2023-08-20 16:52:08 +02:00
Ayaz Salikhov
99daf2041d Trigger CI 2023-08-20 16:45:46 +02:00
Ayaz Salikhov
a5b40a6f11 Move all images to images dir (#1972) 2023-08-19 17:25:20 +02:00