Commit Graph

3837 Commits

Author SHA1 Message Date
Ayaz Salikhov
01e2a4e0a9 [FAST_BUILD] [TMP] Fix mamba clean by downloading updated file (#2052)
* [TMP] Fix mamba clean by downloading updated file

* Fix wget option
2023-12-08 01:09:44 +01:00
Ayaz Salikhov
b6104850fa Automatically install latest julia version (#2046)
* Automatically install latest julia version

* Better text

* Fix

* Fix

* Update setup-julia.bash

* Install plumbum

* Better docs

* Better docs

* Use subprocess.check_call instead of plumbum

* Do not use dash in python filename

* Remove plumbum from the image

* Remove jq from the image

* Remove setup-julia.bash file

* Fix file name

* Fix docstring
2023-12-05 00:19:01 +01:00
pre-commit-ci[bot]
9f12db6067 [pre-commit.ci] pre-commit autoupdate (#2048)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.10.1 → 23.11.0](https://github.com/psf/black/compare/23.10.1...23.11.0)
- [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.6.1...v1.7.1)
- [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.3](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v4.0.0-alpha.3)
- [github.com/adrienverge/yamllint: v1.32.0 → v1.33.0](https://github.com/adrienverge/yamllint/compare/v1.32.0...v1.33.0)
- [github.com/nbQA-dev/nbQA: 1.7.0 → 1.7.1](https://github.com/nbQA-dev/nbQA/compare/1.7.0...1.7.1)

* Update .pre-commit-config.yaml

* Update .pre-commit-config.yaml

---------

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-12-04 21:55:11 +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
2927745fb2 Add order of precedence for spark-config script 2023-12-04 12:05:56 +01:00
Ayaz Salikhov
72601cbd68 Add acknowledgement of me :) (#2033)
* Add acknowledgement of me :)

* Fix link

* Update README.md
2023-11-29 23:02:54 +01:00
Yuvi Panda
99d306450e Specify multiple architectures for Julia to precompile to (#2044)
* Specify multiple architectures for Julia to precompile to

For amd64 (x86_64), we should specify what specific targets the
precompilation should be done for.  If we don't specify it,
it's *only* done for the target of the host doing the compilation.
When the container runs on a host that's still x86_64, but
a *different* generation of CPU than what the build host was, the
precompilation is useless and Julia takes a long long time to start
up. This specific multitarget comes from
https://docs.julialang.org/en/v1/devdocs/sysimg/#Specifying-multiple-system-image-targets,
and is the same set of options that the official Julia x86_64 build is
compiled with.  If the architecture the container runs on is
different, precompilation may still have to be re-done on first
startup - but this *should* catch most of the issues.

h/t to
https://discourse.julialang.org/t/is-it-possible-to-make-precompilation-portable-for-docker-images-built-with-a-different-cpu/95913
which helped point me towards `JULIA_CPU_TARGET`.

Fixes https://github.com/jupyter/docker-stacks/issues/2015 for more information

* Fix bash syntax issue

* Add JULIA_CPU_TARGET for aarch64 as well

- Don't need `export` as this is only used within this
  script
- Steal from upstream what should be setup for aarch64

* Re-add export for JULIA_CPU_TARGET

Quietens pre-commit
2023-11-29 22:56:28 +01:00
Ayaz Salikhov
d91bb62be0 Add comment about building font cache back 2023-11-26 01:45:47 +01:00
Olivier Benz
baa110d3f9 Remove environment variable XDG_CACHE_HOME (#2038)
- Fixes https://github.com/jupyter/docker-stacks/issues/2037
2023-11-22 17:10:52 +01:00
Ayaz Salikhov
406e397d43 Add info about robot permission when adding a new image 2023-11-22 14:17:42 +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
809672790e Fix usages of hist_lines_dir and manifests_dir 2023-11-19 13:42:50 +01:00
Ayaz Salikhov
69e5b1d5c2 Fix arg names for --hist-lines-dir and --manifests-dir 2023-11-19 13:34:18 +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
71e66b2d57 Sphinx workflow doesn't depend on .readthedocs.yaml 2023-11-19 01:10:34 +01:00
Ayaz Salikhov
8517280b6e Unify style 2023-11-19 00:48:33 +01:00
Ayaz Salikhov
bb56acf0d9 Fix typo 2023-11-19 00:46:03 +01:00
Ayaz Salikhov
188ff1eb1b Update README.md 2023-11-19 00:34:13 +01:00
Ayaz Salikhov
132dfd1f59 Docker build doesn't depend on tests/README.md 2023-11-19 00:20:19 +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
b0ef5b950d Update tasks.md 2023-11-18 12:19:42 +01:00
Ayaz Salikhov
f1b04258b6 Update new-images-and-packages-policy.md 2023-11-18 12:19:16 +01:00
Ayaz Salikhov
094078c1c9 Update tests.md 2023-11-18 12:18:35 +01:00
Ayaz Salikhov
f15ec03aa3 Update lint.md 2023-11-18 12:17:36 +01:00
Ayaz Salikhov
fd364af70f Update stacks.md 2023-11-18 12:15:27 +01:00
Ayaz Salikhov
bbd5211343 Update recipes.md 2023-11-18 12:14:33 +01:00
Ayaz Salikhov
7378b61ac7 Update packages.md 2023-11-18 12:14:19 +01:00
Ayaz Salikhov
07fdeaa678 Update README.md 2023-11-18 12:04:24 +01:00
Ayaz Salikhov
dbaa43f898 Update tag example 2023-11-18 12:01:53 +01:00
Ayaz Salikhov
5cd1f13797 Use tag which doesn't exist in registry-move 2023-11-18 11:44:10 +01:00
Ayaz Salikhov
793bbd0c57 Correctly move multi-arch images from Docker Hub to Quay.io (#2035)
* Correctly move multi-arch images from Docker Hub to Quay.io

* Use skopeo

* Better workflow

* Only move multi-arch image

* Use macos

* Install docker

* Fix

* Switch back to ubuntu

* Revert "Switch back to ubuntu"

This reverts commit 0ab19889d3.
2023-11-18 01:02:02 +01:00
Ayaz Salikhov
cd2875a0da [FAST_BUILD] Remove latest tag in workflow to make local development easier (#2034)
* Remove latest tag in workflow to make local development easier

* Fix style

* Update docker-tag-push.yml

* Update docker-tag-push.yml
2023-11-17 23:01:33 +01:00
Ayaz Salikhov
0c800adc51 Add one tag so GitHub doesn't complain 2023-11-16 10:18:24 +01:00
Ayaz Salikhov
ec949a7717 Remove tags from registry-move workflow 2023-11-16 01:46:47 +01:00
Ayaz Salikhov
31f4c98405 Update info about old images 2023-11-15 12:36:59 +01:00
Ayaz Salikhov
534bcda50a Fix using contexts for env vars 2023-11-15 01:18:31 +01:00
Ayaz Salikhov
9c07045ea6 Add workflow to move some images from Docker Hub to Quay.io (#2032)
* Add workflow to move some images from Docker Hub to Quay.io

* Add tag

* Add fail-fast
2023-11-15 01:15:37 +01:00
Yuvi Panda
51f6a5ac3e Mention that 2i2c is a non-profit (#2029) 2023-11-07 14:50:38 +01:00
Ayaz Salikhov
49150068fc Add asserts to make sure wiki is always updated 2023-11-07 14:37:39 +01:00
Ayaz Salikhov
716683512e Fix table style on the home page 2023-11-07 14:35:37 +01:00