Commit Graph

142 Commits

Author SHA1 Message Date
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
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
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
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
3778ebff6e Unify fix-permissions usage 2023-07-28 23:40:50 +04:00
Ayaz Salikhov
b4f1acc0d6 Use mamba instead of pin for delta-spark 2023-07-28 23:36:47 +04:00
Ayaz Salikhov
4a6057f58f Update spellcheck notebookv6 recipe 2023-07-28 23:29:50 +04:00
Ayaz Salikhov
b323e5d850 Remove unused docker command 2023-07-28 23:11:24 +04:00
Ayaz Salikhov
0291bd6fa1 Use jupyter/base-notebook in an example 2023-07-28 23:08:27 +04:00
Ayaz Salikhov
d169b6ad45 Better wording 2023-07-28 22:56:24 +04:00
Ayaz Salikhov
513218c44b Update jupyterhub specific version choice docs 2023-07-28 22:50:23 +04:00
Ayaz Salikhov
35a8587e4a Update docs on using DockerSpawner 2023-07-28 22:48:59 +04:00
Ayaz Salikhov
9590b0e13c Do not use --detach for docker-compose in recipe 2023-07-28 22:35:52 +04:00
Ayaz Salikhov
32733a437d Improve style 2023-07-28 22:19:47 +04:00
Ayaz Salikhov
9dffd42758 Fix custom conda environment recipe 2023-07-28 22:19:09 +04:00
Ayaz Salikhov
46e92f69ac Unify docker build command 2023-07-28 22:13:06 +04:00
Ayaz Salikhov
3f257bdb4e Warn outdated recipes might be broken (#1954) 2023-07-28 18:42:00 +04:00
Ayaz Salikhov
5e381019fd Move recipe Dockerfiles to separate files (#1953) 2023-07-28 18:23:39 +04:00
Ayaz Salikhov
acad63dec1 Delete redundant lines from xgboost recipe 2023-07-28 17:19:32 +04:00
Ayaz Salikhov
4cc92ff415 Fix jupyterhub installation example 2023-07-28 17:18:08 +04:00
Ayaz Salikhov
e8874a5fab Fix mamba install commands 2023-07-28 17:17:39 +04:00
Ayaz Salikhov
b6786dc79d Fix link 2023-07-28 14:06:38 +04:00
Ayaz Salikhov
37afcd4c85 Update manpage enabling recipe 2023-07-28 14:04:10 +04:00
Ayaz Salikhov
fc29c32237 Fix xgboost recipe 2023-07-28 13:58:53 +04:00
Ayaz Salikhov
57d6c600d1 Unify pip installation style 2023-07-28 13:48:45 +04:00
Ayaz Salikhov
832dbb97c0 Update rise to suggest JupyterLab extension 2023-07-28 13:46:42 +04:00
Ayaz Salikhov
88021e8b52 Fix dask extension recipe 2023-07-28 13:34:51 +04:00
Ayaz Salikhov
5f839cd86b Fix custom image name 2023-07-28 13:34:37 +04:00
Ayaz Salikhov
d3ffd76092 Unify base image choice 2023-07-28 13:18:07 +04:00
Ayaz Salikhov
4ee1da08c1 Do not use :latest tag 2023-07-28 13:15:10 +04:00
Ayaz Salikhov
6d5d183acf Update docs on using mamba install or pip install 2023-07-28 13:10:35 +04:00
Ayaz Salikhov
3ab837290e Update Microsoft SQL Server ODBC driver recipe (#1952)
* Update Microsoft SQL Server ODBC driver recipe

* Fix
2023-07-28 12:38:31 +04:00
Ayaz Salikhov
df06e24103 Improve wording in docs about Jupyter Notebook (#1949)
* Improve wording in docs about Jupyter Notebook

* Fixes

* Better naming

* Apply suggestions from code review
2023-07-28 12:16:02 +04:00
Ayaz Salikhov
bfe5f20914 Use correct ServerApp options in examples and tests (#1947) 2023-07-26 20:09:47 +04:00
Ayaz Salikhov
df6884ffaf Update tag example 2023-07-26 12:32:28 +04:00
Ayaz Salikhov
b8d617dc05 Some fixes for Jupyter Notebook 7 (#1944)
* Some fixes for Jupyter Notebook 7

* Fix jupyter nbextension

* Remove explicit port setting
2023-07-25 12:51:17 +04:00
Ayaz Salikhov
799403c4c6 Do not use wget --quiet, as it makes debugging much harder 2023-06-19 17:57:19 +04:00
Ayaz Salikhov
4e57503a0b Use long options in code 2023-06-19 17:53:50 +04:00
Ayaz Salikhov
0d7551c273 Update tag example to use python 3.11 2023-06-02 19:29:44 +04:00
Ayaz Salikhov
4693a1d256 Update tag example once again 2023-05-27 11:47:18 +04:00
Ayaz Salikhov
a2f462b152 Update image example to use JupyterLab 4.0 2023-05-25 18:46:06 +04:00
Ayaz Salikhov
b378681ada Update image example 2023-05-17 17:20:07 +04:00
Ayaz Salikhov
8dbeaa5401 Remove --quiet flag when not needed (#1887) 2023-03-09 15:52:20 +04:00
Ayaz Salikhov
86d42cadf4 Update example date 2023-02-28 17:08:58 +04:00
Ayaz Salikhov
ee64c2ac00 Use date tag in all the examples (#1875)
* Use date tag in all the examples

* Update selecting.md example
2023-02-16 11:33:29 +04:00
Ayaz Salikhov
d3a9357e68 Fix grammar 2023-02-16 11:25:10 +04:00
Ayaz Salikhov
dc56a27435 Update recipes.md 2023-02-09 14:44:03 +04:00
Bastian Fredriksson
f8aca249b7 Recipe for Microsoft SQL Server (#1847)
* Recipe for Microsoft SQL Server

Dockerfile with Microsoft SQL Server ODBC driver and pyodbc.

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

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

* Get rid of apt-key, only install what's needed and clean up properly

* Replace apt-get with apt

* Switch from apt to apt-get

* Use --no-install-recommends in the right place

* Use simple pip install

* Install pip package under jovyan

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>
2022-12-18 01:36:56 +04:00