Commit Graph

432 Commits

Author SHA1 Message Date
Ayaz Salikhov
3253fc39b5 Fix conda hook to work in both terminal and Jupyter Notebook (#2047)
* Fix conda hook to work in both terminal and Jupyter Notebook

* Fix hook for Jupyter Terminals

* Rename startup hook to have order of precedence

* Try to increase sleep

* Comment making env_name default in custom_environment
2023-12-04 21:09:23 +01:00
Thijs Walcarius
278dd76837 Add jupyter/pytorch-notebook (#1936)
* Add PyTorch image

* Fix linting errors

* Fix link to pytorch website

* Address review comments

* Fix PytorchVersionTagger

* Remove "+cpu" suffix from pytorch version tag

* Update selecting.md

* Rename pytorch-notebook/.dockerignore to images/pytorch-notebook/.dockerignore

* Rename pytorch-notebook/Dockerfile to images/pytorch-notebook/Dockerfile

* Rename pytorch-notebook/README.md to images/pytorch-notebook/README.md

* Add pytorch-notebook to registry-overviews

* Add registry to pytorch image

* Use Quay.io

* Remove incorrect link

* Update action.yml

* Update docker.yml

* Remove information about Docker Hub, because this image won't be uploaded to Docker Hub

* Update docker.yml

* Update action.yml

* Add pytorch-notebook to registry-move.yml

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@gmail.com>
2023-11-22 11:56:45 +01:00
Ayaz Salikhov
0a75e3d3a6 Minor improvements 2023-11-21 13:17:33 +01:00
Ayaz Salikhov
d53e39763d Minor improvements 2023-11-21 02:40:50 +01:00
Ayaz Salikhov
d8c60bc42c Fix more grammar issues 2023-11-19 12:16:19 +01:00
Ayaz Salikhov
d03229331a Fix some grammar issues 2023-11-19 02:09:26 +01:00
Ayaz Salikhov
cc00341fcc Update troubleshooting.md 2023-11-18 12:28:25 +01:00
Ayaz Salikhov
db01bfbd23 Update specifics.md 2023-11-18 12:27:13 +01:00
Ayaz Salikhov
52e4cb96f2 Fix codestyle 2023-11-18 12:26:27 +01:00
Ayaz Salikhov
e79a501d7f Update selecting.md 2023-11-18 12:25:23 +01:00
Ayaz Salikhov
1ed3bb0093 Update running.md 2023-11-18 12:23:52 +01:00
Ayaz Salikhov
4df689f2f4 Update recipes.md 2023-11-18 12:23:14 +01:00
Ayaz Salikhov
a49920aac9 Update faq.md 2023-11-18 12:21:35 +01:00
Ayaz Salikhov
011a724ba5 Update common.md 2023-11-18 12:20:55 +01:00
Ayaz Salikhov
dbaa43f898 Update tag example 2023-11-18 12:01:53 +01:00
acjbrouwer
1f11f445ed Fix broken link to r-notebook tags on quay (#2021) 2023-11-03 14:27:15 +01:00
Ayaz Salikhov
e9bb9c14b2 Update first example 2023-10-31 16:37:47 +01:00
Ayaz Salikhov
463ced7e4f Update tag example 2023-10-31 16:29:35 +01:00
xieshuaihu
66f7beff16 add grpcio grpcio-status to support spark connect (#2017)
* add grpcio grpcio_status to support spark connect

* Sort install list

* Fix package name

* Update pyspark docs with new deps grpcio and grpcio-status

* set grpcio and grpcio-status version as 1.56

* exclude grpcio and grpcio-status in test_packages.py

* Update selecting.md

* Update test_packages.py

* Update Dockerfile

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-10-30 12:11:32 +01:00
Ayaz Salikhov
b331741540 Start new sentences on a new line in markdown 2023-10-21 20:11:49 +02:00
Ayaz Salikhov
ad28158ab1 Make troubleshooting.md source code more readable 2023-10-21 20:06:45 +02:00
Ayaz Salikhov
52f79605f3 Update example date 2023-10-21 02:10:53 +02:00
Ayaz Salikhov
119766df29 Use Docker Hub for an old image 2023-10-21 02:10:15 +02:00
Ayaz Salikhov
00a6728161 Move from Docker Hub to quay.io (#2010)
* Move from Docker Hub to quay.io

* Fix http->https

* Update registry-overviews

* Remove Docker Hub name
2023-10-20 22:31:45 +02:00
Ayaz Salikhov
4adbb05073 Add docker.io to docker run commands 2023-10-19 21:26:48 +02:00
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
Ayaz Salikhov
94b57514f9 Update example date 2023-09-27 01:18:54 +04:00
Albert R. Gnadt
02870bd138 Update selecting.md without duplicated julia-notebook info (#1986)
- datascience-notebook now references julia-notebook
- also modified a line under julia-notebook for consistency with r-notebook
2023-08-29 12:23:02 +04:00
Ayaz Salikhov
c7ce00b9fd Add info about pyspark recipe 2023-08-27 23:04:56 +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
ecf4ea5f86 Revert "Replace rodbc link fow now"
This reverts commit 73d6fe4f55.
2023-08-23 13:49:42 +04:00
Ayaz Salikhov
b88eba3e59 Update the custom env recipe to correctly activate it by default (#1975)
* Update the custom env recipe to correctly activate it by default

* Remove obsolete line

* Better wording
2023-08-21 01:14:07 +02:00
Ayaz Salikhov
948f0bb336 Add info how to persist user data (#1977)
* Add info how to persist user data

* Improve wording

* Add note

* Better wording
2023-08-20 18:19:53 +02:00
Ayaz Salikhov
49a3caa5fb Trigger CI 2023-08-20 16:44:50 +02:00
Ayaz Salikhov
d154bdd800 Fix oracledb recipe 2023-08-20 16:37:26 +02:00
Ayaz Salikhov
5e65115ea4 Update example date 2023-08-19 23:39:20 +02:00
Ayaz Salikhov
a7a4be9e39 Fix more broken links 2023-08-19 17:42:45 +02:00
Ayaz Salikhov
2ecdaec832 Fix images links 2023-08-19 17:32:38 +02:00
Ayaz Salikhov
a2da70c663 Remove unnecessary ARG variable in a recipe 2023-08-19 11:00:11 +02:00
Ayaz Salikhov
aac56a610b Build contributed recipes on aarch64 (#1974)
* Build contributed recipes on aarch64

* Add --pull to contributed recipes

* Exclude recipe not working on aarch64
2023-08-19 10:42:28 +02:00
Ayaz Salikhov
73d6fe4f55 Replace rodbc link fow now 2023-08-19 10:25:47 +02:00
Ayaz Salikhov
90cffa6c26 Build all contributed recipes automatically (#1973)
* Build all contributed recipes automatically

* Add missing file

* Add checkout repo

* Fix matrix

* Remove unused var

* Add typing
2023-08-19 10:23:11 +02:00
Dani Canet
affeb4ea00 Add a recipe to install OracleDB instant client (version 21.x) (#1970)
* Add a recipe to install OracleDB instant client

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

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

* Split java install command to avoid errors

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

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

* Split java install command to avoid errors

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

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

* chore: lint markdown to avoid max-lenght

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

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

* chore: add recipe to ci-cd and fixes from review

- Use ENV docker command to upload PATH variable for Jupyter notebook.
- Make installation faster by removing extra `apt-get` commands.
- Optimize credential files generation for the sake of legibility
- Change WORKDIR back at the end.
- Use mamba instead of pip to install the oracledb library.
- Keep conda instructions for the sake of consistency with the rest of
the recipes in the page.
  Like 'Add a custom conda environment and Jupyter kernel'.

* Update oracledb recipe using suggestion from PR

Optimize image of the docker image by chaining commands.

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

* Fix the chaining command to remove temp files

* Set the right value for WORKDIR

* chore: fix ci-cd and specify recipe scope

- Specify scope of the recipe to v.21. version of the plugin.
- Fix the ci-cd build.
- Avoid innecessary image optimisations

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

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

* chore: fix ci-cd and specify recipe scope

- Specify scope of the recipe to v.21. version of the plugin.
- Fix the ci-cd build.
- Avoid innecessary image optimisations

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

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

* chore: remove temporary file clean

* chore: fix typo

* Update oracledb.dockerfile

* Update recipes.md

* Use alien --install

* Fix typo

* Unify comments

* Update oracledb.dockerfile

* Update oracledb.dockerfile

* Add ARG to remove copy-paste

---------

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-08-19 10:16:55 +02:00
Ayaz Salikhov
cf2791494e Add info about root_dir in docs (#1971)
* Add info about root_dir in docs

* Add note to running.md as well

* Better wording
2023-08-18 19:16:49 +02:00
Ayaz Salikhov
afe6311991 Fix usage for -w in docs (#1967) 2023-08-13 18:43:17 +04:00
Ayaz Salikhov
e1bd309263 Use curl instead of wget for Spark and Julia downloads (#1950)
Co-authored-by: Bjørn Jørgensen <bjornjorgensen@users.noreply.github.com>
2023-08-03 13:18:01 +04:00
Ayaz Salikhov
b5003a0259 Add docs how to change frontend for JupyterHub singleuser image (#1957)
* Add docs how to change frontend for JupyterHub singleuser image

* Update common.md
2023-08-02 11:45:04 +04:00
Ayaz Salikhov
e2a3c33d30 Fix start.sh location in docs 2023-07-31 13:17:41 +04:00
Ayaz Salikhov
8707b7a0b4 Update tag example 2023-07-31 12:54:59 +04:00