mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-07 10:04:03 +00:00
Update custom recipes versions (#2276)
This commit is contained in:
@@ -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
|
||||||
|
@@ -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}" \
|
||||||
|
@@ -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"]
|
||||||
}
|
}
|
@@ -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}"
|
||||||
|
Reference in New Issue
Block a user