Commit Graph

26 Commits

Author SHA1 Message Date
Ayaz Salikhov
4d4ed0e0bf Unify ENV command in Dockerfiles (#2135) 2024-08-14 15:36:38 +01:00
Ayaz Salikhov
996fae1248 Update oracledb client version 2024-05-06 13:51:46 +01:00
Ayaz Salikhov
dd744ea607 [TMP] Disable installing sqlplus as it gives errors 2024-05-06 13:49:14 +01:00
Ayaz Salikhov
41ded6e8a3 Update oracledb example 2024-05-06 13:49:14 +01:00
Ayaz Salikhov
b71f4cb525 Unify access to env variables (#2086) 2024-01-21 17:32:14 +04:00
Ayaz Salikhov
027d3a1026 Fix cusotm env recipe 2023-12-08 05:47:10 +01:00
Ayaz Salikhov
2760b2e075 Use jupyter/minimal-notebook for custom env example 2023-12-08 05:44:20 +01:00
Ayaz Salikhov
c1d2127843 Use custom conda environment in Jupyter Notebook when user wants to use it (#2050)
* Modify the custom Python kernel

- to activate the custom environment
- for the respective Jupyter Notebook and Jupyter Console

Signed-off-by: Ayaz Salikhov <mathbunnyru@gmail.com>

* Add DL3059 to hadolint ignore list

Signed-off-by: Ayaz Salikhov <mathbunnyru@gmail.com>

* Move hadolint ignore to a single line

* Use python heredoc

* Remove unused print

* Fix style

* Do not hardcode CONDA_DIR

* Update custom_environment.dockerfile

* Use indent=1

* Implement activate_notebook_custom_env.py as a separate script

* Do not call Python manually

---------

Signed-off-by: Ayaz Salikhov <mathbunnyru@gmail.com>
Co-authored-by: Olivier Benz <olivier.benz@b-data.ch>
2023-12-08 03:03:32 +01:00
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
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
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
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
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
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
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
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
f14658e28f Add missing file 2023-07-28 23:31:27 +04:00
Ayaz Salikhov
9dffd42758 Fix custom conda environment recipe 2023-07-28 22:19:09 +04:00
Ayaz Salikhov
900dfc9fc4 Build pip and mamba recipes as well 2023-07-28 19:10:19 +04:00
Ayaz Salikhov
5e381019fd Move recipe Dockerfiles to separate files (#1953) 2023-07-28 18:23:39 +04:00