Skip to content

Commit 7a650c7

Browse files
authored
refactor!: remove files for rocker/cuda, rocker/ml, and rocker/ml-verse (#905)
Close #903 Close #756
1 parent 5d33fd1 commit 7a650c7

23 files changed

+11
-1222
lines changed

NEWS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# News
22

3+
## 2025-02
4+
5+
### Changes in pre-built images
6+
7+
- `rocker/cuda`, `rocker/ml`, and `rocker/ml-verse` images are no longer built from this repository.
8+
See [#903](https://github.com/rocker-org/rocker-versioned2/issues/903) for background.
9+
310
## 2024-12
411

512
### Changes in pre-built images

bakefiles/4.4.1.extra.docker-bake.json

Lines changed: 0 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"default": [
55
{
66
"targets": [
7-
"cuda",
8-
"ml",
9-
"ml-verse",
107
"binder"
118
]
129
}
@@ -17,15 +14,6 @@
1714
"binder"
1815
]
1916
}
20-
],
21-
"cuda-images": [
22-
{
23-
"targets": [
24-
"cuda",
25-
"ml",
26-
"ml-verse"
27-
]
28-
}
2917
]
3018
}
3119
],
@@ -56,99 +44,6 @@
5644
"docker.io/rocker/binder:4.4.1",
5745
"ghcr.io/rocker-org/binder:4.4.1"
5846
]
59-
},
60-
"cuda": {
61-
"dockerfile": "dockerfiles/cuda_4.4.1.Dockerfile",
62-
"labels": {
63-
"org.opencontainers.image.title": "rocker/cuda",
64-
"org.opencontainers.image.description": "NVIDIA CUDA libraries added to Rocker image.",
65-
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
66-
"org.opencontainers.image.version": "R-4.4.1",
67-
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
68-
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
69-
"org.opencontainers.image.vendor": "Rocker Project",
70-
"org.opencontainers.image.authors": "Carl Boettiger <cboettig@ropensci.org>"
71-
},
72-
"platforms": [
73-
"linux/amd64"
74-
],
75-
"cache-to": [
76-
"type=inline"
77-
],
78-
"tags": [
79-
"docker.io/rocker/cuda:4.4.1",
80-
"ghcr.io/rocker-org/cuda:4.4.1"
81-
],
82-
"cache-from": [
83-
"docker.io/rocker/cuda:4.4.1",
84-
"ghcr.io/rocker-org/cuda:4.4.1",
85-
"docker.io/rocker/ml:4.4.1",
86-
"ghcr.io/rocker-org/ml:4.4.1",
87-
"docker.io/rocker/ml-verse:4.4.1",
88-
"ghcr.io/rocker-org/ml-verse:4.4.1"
89-
]
90-
},
91-
"ml": {
92-
"dockerfile": "dockerfiles/ml_4.4.1.Dockerfile",
93-
"labels": {
94-
"org.opencontainers.image.title": "rocker/ml",
95-
"org.opencontainers.image.description": "Docker image with R + GPU support for machine learning libraries.",
96-
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
97-
"org.opencontainers.image.version": "R-4.4.1",
98-
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
99-
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
100-
"org.opencontainers.image.vendor": "Rocker Project",
101-
"org.opencontainers.image.authors": "Carl Boettiger <cboettig@ropensci.org>"
102-
},
103-
"platforms": [
104-
"linux/amd64"
105-
],
106-
"cache-to": [
107-
"type=inline"
108-
],
109-
"tags": [
110-
"docker.io/rocker/ml:4.4.1",
111-
"ghcr.io/rocker-org/ml:4.4.1"
112-
],
113-
"cache-from": [
114-
"docker.io/rocker/cuda:4.4.1",
115-
"ghcr.io/rocker-org/cuda:4.4.1",
116-
"docker.io/rocker/ml:4.4.1",
117-
"ghcr.io/rocker-org/ml:4.4.1",
118-
"docker.io/rocker/ml-verse:4.4.1",
119-
"ghcr.io/rocker-org/ml-verse:4.4.1"
120-
]
121-
},
122-
"ml-verse": {
123-
"dockerfile": "dockerfiles/ml-verse_4.4.1.Dockerfile",
124-
"labels": {
125-
"org.opencontainers.image.title": "rocker/ml-verse",
126-
"org.opencontainers.image.description": "Docker image with R + GPU support for machine learning libraries, and many R packages.",
127-
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
128-
"org.opencontainers.image.version": "R-4.4.1",
129-
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
130-
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
131-
"org.opencontainers.image.vendor": "Rocker Project",
132-
"org.opencontainers.image.authors": "Carl Boettiger <cboettig@ropensci.org>"
133-
},
134-
"platforms": [
135-
"linux/amd64"
136-
],
137-
"cache-to": [
138-
"type=inline"
139-
],
140-
"tags": [
141-
"docker.io/rocker/ml-verse:4.4.1",
142-
"ghcr.io/rocker-org/ml-verse:4.4.1"
143-
],
144-
"cache-from": [
145-
"docker.io/rocker/cuda:4.4.1",
146-
"ghcr.io/rocker-org/cuda:4.4.1",
147-
"docker.io/rocker/ml:4.4.1",
148-
"ghcr.io/rocker-org/ml:4.4.1",
149-
"docker.io/rocker/ml-verse:4.4.1",
150-
"ghcr.io/rocker-org/ml-verse:4.4.1"
151-
]
15247
}
15348
}
15449
}

bakefiles/4.4.2.extra.docker-bake.json

Lines changed: 0 additions & 177 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"default": [
55
{
66
"targets": [
7-
"cuda",
8-
"ml",
9-
"ml-verse",
107
"binder"
118
]
129
}
@@ -17,15 +14,6 @@
1714
"binder"
1815
]
1916
}
20-
],
21-
"cuda-images": [
22-
{
23-
"targets": [
24-
"cuda",
25-
"ml",
26-
"ml-verse"
27-
]
28-
}
2917
]
3018
}
3119
],
@@ -68,171 +56,6 @@
6856
"docker.io/rocker/binder:latest",
6957
"ghcr.io/rocker-org/binder:latest"
7058
]
71-
},
72-
"cuda": {
73-
"dockerfile": "dockerfiles/cuda_4.4.2.Dockerfile",
74-
"labels": {
75-
"org.opencontainers.image.title": "rocker/cuda",
76-
"org.opencontainers.image.description": "NVIDIA CUDA libraries added to Rocker image.",
77-
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
78-
"org.opencontainers.image.version": "R-4.4.2",
79-
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
80-
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
81-
"org.opencontainers.image.vendor": "Rocker Project",
82-
"org.opencontainers.image.authors": "Carl Boettiger <cboettig@ropensci.org>"
83-
},
84-
"platforms": [
85-
"linux/amd64"
86-
],
87-
"cache-to": [
88-
"type=inline"
89-
],
90-
"tags": [
91-
"docker.io/rocker/cuda:4.4.2",
92-
"ghcr.io/rocker-org/cuda:4.4.2",
93-
"docker.io/rocker/cuda:4.4",
94-
"ghcr.io/rocker-org/cuda:4.4",
95-
"docker.io/rocker/cuda:4",
96-
"ghcr.io/rocker-org/cuda:4",
97-
"docker.io/rocker/cuda:latest",
98-
"ghcr.io/rocker-org/cuda:latest"
99-
],
100-
"cache-from": [
101-
"docker.io/rocker/cuda:4.4.2",
102-
"ghcr.io/rocker-org/cuda:4.4.2",
103-
"docker.io/rocker/cuda:4.4",
104-
"ghcr.io/rocker-org/cuda:4.4",
105-
"docker.io/rocker/cuda:4",
106-
"ghcr.io/rocker-org/cuda:4",
107-
"docker.io/rocker/cuda:latest",
108-
"ghcr.io/rocker-org/cuda:latest",
109-
"docker.io/rocker/ml:4.4.2",
110-
"ghcr.io/rocker-org/ml:4.4.2",
111-
"docker.io/rocker/ml:4.4",
112-
"ghcr.io/rocker-org/ml:4.4",
113-
"docker.io/rocker/ml:4",
114-
"ghcr.io/rocker-org/ml:4",
115-
"docker.io/rocker/ml:latest",
116-
"ghcr.io/rocker-org/ml:latest",
117-
"docker.io/rocker/ml-verse:4.4.2",
118-
"ghcr.io/rocker-org/ml-verse:4.4.2",
119-
"docker.io/rocker/ml-verse:4.4",
120-
"ghcr.io/rocker-org/ml-verse:4.4",
121-
"docker.io/rocker/ml-verse:4",
122-
"ghcr.io/rocker-org/ml-verse:4",
123-
"docker.io/rocker/ml-verse:latest",
124-
"ghcr.io/rocker-org/ml-verse:latest"
125-
]
126-
},
127-
"ml": {
128-
"dockerfile": "dockerfiles/ml_4.4.2.Dockerfile",
129-
"labels": {
130-
"org.opencontainers.image.title": "rocker/ml",
131-
"org.opencontainers.image.description": "Docker image with R + GPU support for machine learning libraries.",
132-
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
133-
"org.opencontainers.image.version": "R-4.4.2",
134-
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
135-
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
136-
"org.opencontainers.image.vendor": "Rocker Project",
137-
"org.opencontainers.image.authors": "Carl Boettiger <cboettig@ropensci.org>"
138-
},
139-
"platforms": [
140-
"linux/amd64"
141-
],
142-
"cache-to": [
143-
"type=inline"
144-
],
145-
"tags": [
146-
"docker.io/rocker/ml:4.4.2",
147-
"ghcr.io/rocker-org/ml:4.4.2",
148-
"docker.io/rocker/ml:4.4",
149-
"ghcr.io/rocker-org/ml:4.4",
150-
"docker.io/rocker/ml:4",
151-
"ghcr.io/rocker-org/ml:4",
152-
"docker.io/rocker/ml:latest",
153-
"ghcr.io/rocker-org/ml:latest"
154-
],
155-
"cache-from": [
156-
"docker.io/rocker/cuda:4.4.2",
157-
"ghcr.io/rocker-org/cuda:4.4.2",
158-
"docker.io/rocker/cuda:4.4",
159-
"ghcr.io/rocker-org/cuda:4.4",
160-
"docker.io/rocker/cuda:4",
161-
"ghcr.io/rocker-org/cuda:4",
162-
"docker.io/rocker/cuda:latest",
163-
"ghcr.io/rocker-org/cuda:latest",
164-
"docker.io/rocker/ml:4.4.2",
165-
"ghcr.io/rocker-org/ml:4.4.2",
166-
"docker.io/rocker/ml:4.4",
167-
"ghcr.io/rocker-org/ml:4.4",
168-
"docker.io/rocker/ml:4",
169-
"ghcr.io/rocker-org/ml:4",
170-
"docker.io/rocker/ml:latest",
171-
"ghcr.io/rocker-org/ml:latest",
172-
"docker.io/rocker/ml-verse:4.4.2",
173-
"ghcr.io/rocker-org/ml-verse:4.4.2",
174-
"docker.io/rocker/ml-verse:4.4",
175-
"ghcr.io/rocker-org/ml-verse:4.4",
176-
"docker.io/rocker/ml-verse:4",
177-
"ghcr.io/rocker-org/ml-verse:4",
178-
"docker.io/rocker/ml-verse:latest",
179-
"ghcr.io/rocker-org/ml-verse:latest"
180-
]
181-
},
182-
"ml-verse": {
183-
"dockerfile": "dockerfiles/ml-verse_4.4.2.Dockerfile",
184-
"labels": {
185-
"org.opencontainers.image.title": "rocker/ml-verse",
186-
"org.opencontainers.image.description": "Docker image with R + GPU support for machine learning libraries, and many R packages.",
187-
"org.opencontainers.image.base.name": "docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
188-
"org.opencontainers.image.version": "R-4.4.2",
189-
"org.opencontainers.image.licenses": "GPL-2.0-or-later",
190-
"org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
191-
"org.opencontainers.image.vendor": "Rocker Project",
192-
"org.opencontainers.image.authors": "Carl Boettiger <cboettig@ropensci.org>"
193-
},
194-
"platforms": [
195-
"linux/amd64"
196-
],
197-
"cache-to": [
198-
"type=inline"
199-
],
200-
"tags": [
201-
"docker.io/rocker/ml-verse:4.4.2",
202-
"ghcr.io/rocker-org/ml-verse:4.4.2",
203-
"docker.io/rocker/ml-verse:4.4",
204-
"ghcr.io/rocker-org/ml-verse:4.4",
205-
"docker.io/rocker/ml-verse:4",
206-
"ghcr.io/rocker-org/ml-verse:4",
207-
"docker.io/rocker/ml-verse:latest",
208-
"ghcr.io/rocker-org/ml-verse:latest"
209-
],
210-
"cache-from": [
211-
"docker.io/rocker/cuda:4.4.2",
212-
"ghcr.io/rocker-org/cuda:4.4.2",
213-
"docker.io/rocker/cuda:4.4",
214-
"ghcr.io/rocker-org/cuda:4.4",
215-
"docker.io/rocker/cuda:4",
216-
"ghcr.io/rocker-org/cuda:4",
217-
"docker.io/rocker/cuda:latest",
218-
"ghcr.io/rocker-org/cuda:latest",
219-
"docker.io/rocker/ml:4.4.2",
220-
"ghcr.io/rocker-org/ml:4.4.2",
221-
"docker.io/rocker/ml:4.4",
222-
"ghcr.io/rocker-org/ml:4.4",
223-
"docker.io/rocker/ml:4",
224-
"ghcr.io/rocker-org/ml:4",
225-
"docker.io/rocker/ml:latest",
226-
"ghcr.io/rocker-org/ml:latest",
227-
"docker.io/rocker/ml-verse:4.4.2",
228-
"ghcr.io/rocker-org/ml-verse:4.4.2",
229-
"docker.io/rocker/ml-verse:4.4",
230-
"ghcr.io/rocker-org/ml-verse:4.4",
231-
"docker.io/rocker/ml-verse:4",
232-
"ghcr.io/rocker-org/ml-verse:4",
233-
"docker.io/rocker/ml-verse:latest",
234-
"ghcr.io/rocker-org/ml-verse:latest"
235-
]
23659
}
23760
}
23861
}

build/scripts/generate-bakefiles.R

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -161,40 +161,6 @@ write_extra_bakefile <- function(..., bakefile_template, path_template) {
161161
generate_versioned_tags()
162162
bake_json_content$target$binder$`cache-from` <- bake_json_content$target$binder$tags
163163

164-
## cuda
165-
bake_json_content$target$`cuda`$labels <- c(
166-
bake_json_content$target$`cuda`$labels,
167-
default_labels
168-
)
169-
bake_json_content$target$`cuda`$tags <- c("docker.io/rocker/cuda", "ghcr.io/rocker-org/cuda") |>
170-
generate_versioned_tags()
171-
172-
## ml
173-
bake_json_content$target$ml$labels <- c(
174-
bake_json_content$target$ml$labels,
175-
default_labels
176-
)
177-
bake_json_content$target$ml$tags <- c("docker.io/rocker/ml", "ghcr.io/rocker-org/ml") |>
178-
generate_versioned_tags()
179-
180-
## ml-verse
181-
bake_json_content$target$`ml-verse`$labels <- c(
182-
bake_json_content$target$`ml-verse`$labels,
183-
default_labels
184-
)
185-
bake_json_content$target$`ml-verse`$tags <- c("docker.io/rocker/ml-verse", "ghcr.io/rocker-org/ml-verse") |>
186-
generate_versioned_tags()
187-
188-
# Update cache-from
189-
bake_json_content$target$`cuda`$`cache-from` <-
190-
bake_json_content$target$ml$`cache-from` <-
191-
bake_json_content$target$`ml-verse`$`cache-from` <-
192-
c(
193-
bake_json_content$target$`cuda`$tags,
194-
bake_json_content$target$ml$tags,
195-
bake_json_content$target$`ml-verse`$tags
196-
)
197-
198164
jsonlite::write_json(
199165
bake_json_content,
200166
path = glue::glue_data(
@@ -297,7 +263,7 @@ df_args |>
297263
)
298264

299265

300-
# binder and cuda bake files
266+
# binder bake files
301267
df_args |>
302268
purrr::pwalk(
303269
\(...) {

build/scripts/generate-dockerfiles.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ tibble::tibble(
6161
"geospatial",
6262
"shiny",
6363
"shiny-verse",
64-
"cuda",
65-
"ml",
66-
"ml-verse",
6764
"binder"
6865
)
6966
) |>

0 commit comments

Comments
 (0)