mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-09 19:12:59 +00:00
Update custom recipes versions (#2276)
This commit is contained in:
44
docs/using/recipe_code/docker-bake.custom-python.hcl
Normal file
44
docs/using/recipe_code/docker-bake.custom-python.hcl
Normal file
@@ -0,0 +1,44 @@
|
||||
group "default" {
|
||||
targets = ["custom-notebook"]
|
||||
}
|
||||
|
||||
target "foundation" {
|
||||
context = "https://github.com/jupyter/docker-stacks.git#main:images/docker-stacks-foundation"
|
||||
args = {
|
||||
PYTHON_VERSION = "3.13"
|
||||
}
|
||||
tags = ["docker-stacks-foundation"]
|
||||
}
|
||||
|
||||
target "base-notebook" {
|
||||
context = "https://github.com/jupyter/docker-stacks.git#main:images/base-notebook"
|
||||
contexts = {
|
||||
docker-stacks-foundation = "target:foundation"
|
||||
}
|
||||
args = {
|
||||
BASE_IMAGE = "docker-stacks-foundation"
|
||||
}
|
||||
tags = ["base-notebook"]
|
||||
}
|
||||
|
||||
target "minimal-notebook" {
|
||||
context = "https://github.com/jupyter/docker-stacks.git#main:images/minimal-notebook"
|
||||
contexts = {
|
||||
base-notebook = "target:base-notebook"
|
||||
}
|
||||
args = {
|
||||
BASE_IMAGE = "base-notebook"
|
||||
}
|
||||
tags = ["minimal-notebook"]
|
||||
}
|
||||
|
||||
target "custom-notebook" {
|
||||
context = "."
|
||||
contexts = {
|
||||
minimal-notebook = "target:minimal-notebook"
|
||||
}
|
||||
args = {
|
||||
BASE_IMAGE = "minimal-notebook"
|
||||
}
|
||||
tags = ["custom-jupyter"]
|
||||
}
|
Reference in New Issue
Block a user