Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: remove files for rocker/cuda, rocker/ml, and rocker/ml-verse #905

Merged
merged 2 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# News

## 2025-02

### Changes in pre-built images

- `rocker/cuda`, `rocker/ml`, and `rocker/ml-verse` images are no longer built from this repository.
See [#903](https://github.com/rocker-org/rocker-versioned2/issues/903) for background.

## 2024-12

### Changes in pre-built images
Expand Down
105 changes: 0 additions & 105 deletions bakefiles/4.4.1.extra.docker-bake.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"default": [
{
"targets": [
"cuda",
"ml",
"ml-verse",
"binder"
]
}
Expand All @@ -17,15 +14,6 @@
"binder"
]
}
],
"cuda-images": [
{
"targets": [
"cuda",
"ml",
"ml-verse"
]
}
]
}
],
Expand Down Expand Up @@ -56,99 +44,6 @@
"docker.io/rocker/binder:4.4.1",
"ghcr.io/rocker-org/binder:4.4.1"
]
},
"cuda": {
"dockerfile": "dockerfiles/cuda_4.4.1.Dockerfile",
"labels": {
"org.opencontainers.image.title": "rocker/cuda",
"org.opencontainers.image.description": "NVIDIA CUDA libraries added to Rocker image.",
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
"org.opencontainers.image.version": "R-4.4.1",
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
"org.opencontainers.image.vendor": "Rocker Project",
"org.opencontainers.image.authors": "Carl Boettiger <[email protected]>"
},
"platforms": [
"linux/amd64"
],
"cache-to": [
"type=inline"
],
"tags": [
"docker.io/rocker/cuda:4.4.1",
"ghcr.io/rocker-org/cuda:4.4.1"
],
"cache-from": [
"docker.io/rocker/cuda:4.4.1",
"ghcr.io/rocker-org/cuda:4.4.1",
"docker.io/rocker/ml:4.4.1",
"ghcr.io/rocker-org/ml:4.4.1",
"docker.io/rocker/ml-verse:4.4.1",
"ghcr.io/rocker-org/ml-verse:4.4.1"
]
},
"ml": {
"dockerfile": "dockerfiles/ml_4.4.1.Dockerfile",
"labels": {
"org.opencontainers.image.title": "rocker/ml",
"org.opencontainers.image.description": "Docker image with R + GPU support for machine learning libraries.",
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
"org.opencontainers.image.version": "R-4.4.1",
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
"org.opencontainers.image.vendor": "Rocker Project",
"org.opencontainers.image.authors": "Carl Boettiger <[email protected]>"
},
"platforms": [
"linux/amd64"
],
"cache-to": [
"type=inline"
],
"tags": [
"docker.io/rocker/ml:4.4.1",
"ghcr.io/rocker-org/ml:4.4.1"
],
"cache-from": [
"docker.io/rocker/cuda:4.4.1",
"ghcr.io/rocker-org/cuda:4.4.1",
"docker.io/rocker/ml:4.4.1",
"ghcr.io/rocker-org/ml:4.4.1",
"docker.io/rocker/ml-verse:4.4.1",
"ghcr.io/rocker-org/ml-verse:4.4.1"
]
},
"ml-verse": {
"dockerfile": "dockerfiles/ml-verse_4.4.1.Dockerfile",
"labels": {
"org.opencontainers.image.title": "rocker/ml-verse",
"org.opencontainers.image.description": "Docker image with R + GPU support for machine learning libraries, and many R packages.",
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
"org.opencontainers.image.version": "R-4.4.1",
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
"org.opencontainers.image.vendor": "Rocker Project",
"org.opencontainers.image.authors": "Carl Boettiger <[email protected]>"
},
"platforms": [
"linux/amd64"
],
"cache-to": [
"type=inline"
],
"tags": [
"docker.io/rocker/ml-verse:4.4.1",
"ghcr.io/rocker-org/ml-verse:4.4.1"
],
"cache-from": [
"docker.io/rocker/cuda:4.4.1",
"ghcr.io/rocker-org/cuda:4.4.1",
"docker.io/rocker/ml:4.4.1",
"ghcr.io/rocker-org/ml:4.4.1",
"docker.io/rocker/ml-verse:4.4.1",
"ghcr.io/rocker-org/ml-verse:4.4.1"
]
}
}
}
177 changes: 0 additions & 177 deletions bakefiles/4.4.2.extra.docker-bake.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"default": [
{
"targets": [
"cuda",
"ml",
"ml-verse",
"binder"
]
}
Expand All @@ -17,15 +14,6 @@
"binder"
]
}
],
"cuda-images": [
{
"targets": [
"cuda",
"ml",
"ml-verse"
]
}
]
}
],
Expand Down Expand Up @@ -68,171 +56,6 @@
"docker.io/rocker/binder:latest",
"ghcr.io/rocker-org/binder:latest"
]
},
"cuda": {
"dockerfile": "dockerfiles/cuda_4.4.2.Dockerfile",
"labels": {
"org.opencontainers.image.title": "rocker/cuda",
"org.opencontainers.image.description": "NVIDIA CUDA libraries added to Rocker image.",
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
"org.opencontainers.image.version": "R-4.4.2",
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
"org.opencontainers.image.vendor": "Rocker Project",
"org.opencontainers.image.authors": "Carl Boettiger <[email protected]>"
},
"platforms": [
"linux/amd64"
],
"cache-to": [
"type=inline"
],
"tags": [
"docker.io/rocker/cuda:4.4.2",
"ghcr.io/rocker-org/cuda:4.4.2",
"docker.io/rocker/cuda:4.4",
"ghcr.io/rocker-org/cuda:4.4",
"docker.io/rocker/cuda:4",
"ghcr.io/rocker-org/cuda:4",
"docker.io/rocker/cuda:latest",
"ghcr.io/rocker-org/cuda:latest"
],
"cache-from": [
"docker.io/rocker/cuda:4.4.2",
"ghcr.io/rocker-org/cuda:4.4.2",
"docker.io/rocker/cuda:4.4",
"ghcr.io/rocker-org/cuda:4.4",
"docker.io/rocker/cuda:4",
"ghcr.io/rocker-org/cuda:4",
"docker.io/rocker/cuda:latest",
"ghcr.io/rocker-org/cuda:latest",
"docker.io/rocker/ml:4.4.2",
"ghcr.io/rocker-org/ml:4.4.2",
"docker.io/rocker/ml:4.4",
"ghcr.io/rocker-org/ml:4.4",
"docker.io/rocker/ml:4",
"ghcr.io/rocker-org/ml:4",
"docker.io/rocker/ml:latest",
"ghcr.io/rocker-org/ml:latest",
"docker.io/rocker/ml-verse:4.4.2",
"ghcr.io/rocker-org/ml-verse:4.4.2",
"docker.io/rocker/ml-verse:4.4",
"ghcr.io/rocker-org/ml-verse:4.4",
"docker.io/rocker/ml-verse:4",
"ghcr.io/rocker-org/ml-verse:4",
"docker.io/rocker/ml-verse:latest",
"ghcr.io/rocker-org/ml-verse:latest"
]
},
"ml": {
"dockerfile": "dockerfiles/ml_4.4.2.Dockerfile",
"labels": {
"org.opencontainers.image.title": "rocker/ml",
"org.opencontainers.image.description": "Docker image with R + GPU support for machine learning libraries.",
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
"org.opencontainers.image.version": "R-4.4.2",
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
"org.opencontainers.image.vendor": "Rocker Project",
"org.opencontainers.image.authors": "Carl Boettiger <[email protected]>"
},
"platforms": [
"linux/amd64"
],
"cache-to": [
"type=inline"
],
"tags": [
"docker.io/rocker/ml:4.4.2",
"ghcr.io/rocker-org/ml:4.4.2",
"docker.io/rocker/ml:4.4",
"ghcr.io/rocker-org/ml:4.4",
"docker.io/rocker/ml:4",
"ghcr.io/rocker-org/ml:4",
"docker.io/rocker/ml:latest",
"ghcr.io/rocker-org/ml:latest"
],
"cache-from": [
"docker.io/rocker/cuda:4.4.2",
"ghcr.io/rocker-org/cuda:4.4.2",
"docker.io/rocker/cuda:4.4",
"ghcr.io/rocker-org/cuda:4.4",
"docker.io/rocker/cuda:4",
"ghcr.io/rocker-org/cuda:4",
"docker.io/rocker/cuda:latest",
"ghcr.io/rocker-org/cuda:latest",
"docker.io/rocker/ml:4.4.2",
"ghcr.io/rocker-org/ml:4.4.2",
"docker.io/rocker/ml:4.4",
"ghcr.io/rocker-org/ml:4.4",
"docker.io/rocker/ml:4",
"ghcr.io/rocker-org/ml:4",
"docker.io/rocker/ml:latest",
"ghcr.io/rocker-org/ml:latest",
"docker.io/rocker/ml-verse:4.4.2",
"ghcr.io/rocker-org/ml-verse:4.4.2",
"docker.io/rocker/ml-verse:4.4",
"ghcr.io/rocker-org/ml-verse:4.4",
"docker.io/rocker/ml-verse:4",
"ghcr.io/rocker-org/ml-verse:4",
"docker.io/rocker/ml-verse:latest",
"ghcr.io/rocker-org/ml-verse:latest"
]
},
"ml-verse": {
"dockerfile": "dockerfiles/ml-verse_4.4.2.Dockerfile",
"labels": {
"org.opencontainers.image.title": "rocker/ml-verse",
"org.opencontainers.image.description": "Docker image with R + GPU support for machine learning libraries, and many R packages.",
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
"org.opencontainers.image.version": "R-4.4.2",
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
"org.opencontainers.image.vendor": "Rocker Project",
"org.opencontainers.image.authors": "Carl Boettiger <[email protected]>"
},
"platforms": [
"linux/amd64"
],
"cache-to": [
"type=inline"
],
"tags": [
"docker.io/rocker/ml-verse:4.4.2",
"ghcr.io/rocker-org/ml-verse:4.4.2",
"docker.io/rocker/ml-verse:4.4",
"ghcr.io/rocker-org/ml-verse:4.4",
"docker.io/rocker/ml-verse:4",
"ghcr.io/rocker-org/ml-verse:4",
"docker.io/rocker/ml-verse:latest",
"ghcr.io/rocker-org/ml-verse:latest"
],
"cache-from": [
"docker.io/rocker/cuda:4.4.2",
"ghcr.io/rocker-org/cuda:4.4.2",
"docker.io/rocker/cuda:4.4",
"ghcr.io/rocker-org/cuda:4.4",
"docker.io/rocker/cuda:4",
"ghcr.io/rocker-org/cuda:4",
"docker.io/rocker/cuda:latest",
"ghcr.io/rocker-org/cuda:latest",
"docker.io/rocker/ml:4.4.2",
"ghcr.io/rocker-org/ml:4.4.2",
"docker.io/rocker/ml:4.4",
"ghcr.io/rocker-org/ml:4.4",
"docker.io/rocker/ml:4",
"ghcr.io/rocker-org/ml:4",
"docker.io/rocker/ml:latest",
"ghcr.io/rocker-org/ml:latest",
"docker.io/rocker/ml-verse:4.4.2",
"ghcr.io/rocker-org/ml-verse:4.4.2",
"docker.io/rocker/ml-verse:4.4",
"ghcr.io/rocker-org/ml-verse:4.4",
"docker.io/rocker/ml-verse:4",
"ghcr.io/rocker-org/ml-verse:4",
"docker.io/rocker/ml-verse:latest",
"ghcr.io/rocker-org/ml-verse:latest"
]
}
}
}
36 changes: 1 addition & 35 deletions build/scripts/generate-bakefiles.R
Original file line number Diff line number Diff line change
Expand Up @@ -161,40 +161,6 @@ write_extra_bakefile <- function(..., bakefile_template, path_template) {
generate_versioned_tags()
bake_json_content$target$binder$`cache-from` <- bake_json_content$target$binder$tags

## cuda
bake_json_content$target$`cuda`$labels <- c(
bake_json_content$target$`cuda`$labels,
default_labels
)
bake_json_content$target$`cuda`$tags <- c("docker.io/rocker/cuda", "ghcr.io/rocker-org/cuda") |>
generate_versioned_tags()

## ml
bake_json_content$target$ml$labels <- c(
bake_json_content$target$ml$labels,
default_labels
)
bake_json_content$target$ml$tags <- c("docker.io/rocker/ml", "ghcr.io/rocker-org/ml") |>
generate_versioned_tags()

## ml-verse
bake_json_content$target$`ml-verse`$labels <- c(
bake_json_content$target$`ml-verse`$labels,
default_labels
)
bake_json_content$target$`ml-verse`$tags <- c("docker.io/rocker/ml-verse", "ghcr.io/rocker-org/ml-verse") |>
generate_versioned_tags()

# Update cache-from
bake_json_content$target$`cuda`$`cache-from` <-
bake_json_content$target$ml$`cache-from` <-
bake_json_content$target$`ml-verse`$`cache-from` <-
c(
bake_json_content$target$`cuda`$tags,
bake_json_content$target$ml$tags,
bake_json_content$target$`ml-verse`$tags
)

jsonlite::write_json(
bake_json_content,
path = glue::glue_data(
Expand Down Expand Up @@ -297,7 +263,7 @@ df_args |>
)


# binder and cuda bake files
# binder bake files
df_args |>
purrr::pwalk(
\(...) {
Expand Down
3 changes: 0 additions & 3 deletions build/scripts/generate-dockerfiles.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ tibble::tibble(
"geospatial",
"shiny",
"shiny-verse",
"cuda",
"ml",
"ml-verse",
"binder"
)
) |>
Expand Down
Loading