Update custom recipes versions (#2276)

This commit is contained in:
Ayaz Salikhov
2025-04-03 13:10:03 +01:00
committed by GitHub
parent e0bb88c16d
commit f8879d98b0
4 changed files with 5 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ FROM $BASE_IMAGE
Include the file below in your project: Include the file below in your project:
```{literalinclude} recipe_code/docker-bake.python312.hcl ```{literalinclude} recipe_code/docker-bake.custom-python.hcl
:force: :force:
:language: hcl :language: hcl
:caption: docker-bake.hcl :caption: docker-bake.hcl

View File

@@ -2,8 +2,8 @@ ARG BASE_IMAGE=quay.io/jupyter/minimal-notebook
FROM $BASE_IMAGE FROM $BASE_IMAGE
# Name your environment and choose the Python version # Name your environment and choose the Python version
ARG env_name=python310 ARG env_name=python313
ARG py_ver=3.10 ARG py_ver=3.13
# You can add additional libraries here # You can add additional libraries here
RUN mamba create --yes -p "${CONDA_DIR}/envs/${env_name}" \ RUN mamba create --yes -p "${CONDA_DIR}/envs/${env_name}" \

View File

@@ -5,7 +5,7 @@ group "default" {
target "foundation" { target "foundation" {
context = "https://github.com/jupyter/docker-stacks.git#main:images/docker-stacks-foundation" context = "https://github.com/jupyter/docker-stacks.git#main:images/docker-stacks-foundation"
args = { args = {
PYTHON_VERSION = "3.12" PYTHON_VERSION = "3.13"
} }
tags = ["docker-stacks-foundation"] tags = ["docker-stacks-foundation"]
} }

View File

@@ -1,7 +1,7 @@
ARG BASE_IMAGE=quay.io/jupyter/base-notebook ARG BASE_IMAGE=quay.io/jupyter/base-notebook
FROM $BASE_IMAGE FROM $BASE_IMAGE
RUN mamba install --yes 'jupyterhub-singleuser==4.0.1' && \ RUN mamba install --yes 'jupyterhub-singleuser==5.2.1' && \
mamba clean --all -f -y && \ mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \ fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}" fix-permissions "/home/${NB_USER}"