-
Notifications
You must be signed in to change notification settings - Fork 185
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
Swich the base image to Ubuntu 22.04 LTS #282
Comments
Yup. Usually binaries compiled on the older system ought to run on the newer ones (though maybe Dirk can correct me on that); e.g. I believe in python world they build their 'universal' binary wheels by compiling with an ancient versions of linux. So I'd think most packages would still work; though whether we want to ship any containers that install 20.04-based binaries on a 22.04 platform is another question. iirc last time RSPM had a few month lag (and then there's the question of NVIDIA libraries, which I think were some 6 mo behind the release of 20.04 or so; though maybe different this time). Of course, 20.04 has a lot more life in it. I do think we want to stick with the rocker-versioned tradition of running with the latest stable release, but it does raise the issues of precisely when we switch, and if we continue to support 20.04-flavored images. With the new automation and new buildkit approach to tags, I imagine that is somewhat easier? Providing the same stack on multiple base distros seems pretty standard for docker projects these days. Thoughts? |
Yes they do, almost always (more below). For example, over in PPA land Michael prepares the 5000+ There can be (rare) exceptions. When I packaged R 4.1.2 earlier in the week, the Also consider how commerical apps ship. I run rstudio, slack, zoom, chrome, ... here and they all run. They tend to be 'sumo builds' with their dependencies statically linked in to avoid the above problem but it demonstrates that yes we can. So I would suggest to be pragmatic and, dunno, maybe use the 20.04 binaries for a month or so until 22.04 will have caught up. The service you depend on here but do not pay for or have a SLA for simply is not obligated to serve you binaries on April 21 so maybe it is safer to assume (just on good engineering grounds) that you won't have them. You can always flip the switch early if they are... (I do the same for |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
rocker/r-ver:4.2.0
will be based on ubuntu:jammy
rocker/r-ver:4.2.0
will be based on ubuntu:jammy
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Since the base image selection logic has been updated by #424, the switch to rocker-versioned2/build/make-stacks.R Line 444 in a97bd9e
|
Today, the base image of
|
Hi 👋🏾 Did you decide when you are going to switch to Thanks, |
@devarops Thanks for the good question. Switch the base image to The only one using |
@eitsupi Thank you for your answer. |
Note: RSPM seems to have started providing binaries for Ubuntu 22.04 a few days after jammy's release, and the images used in r-universe have already switched to As a side note, RSPM did not provide binaries for R4.2.0 as of the day of the R4.2.0 release, so the build in this repository was just under the 6-hour limit. |
yes, things seem to be moving a bit faster this time around, maybe 90 days is too conservative. I'm watching https://gitlab.com/nvidia/container-images/cuda/-/issues/157 to see about the nvidia base images, though that branch of the stack could be dealt with as a separate case. |
Thank you for checking on the cuda base image. Note that for now the base image specify only has the ability to replace the current rocker-versioned2/build/make-stacks.R Lines 114 to 123 in a3289e3
|
@cboettig It seems that cuda images only have cuda 11.7+ for ubuntu jammy. Currently the version of cuda is fixed at 11.1.1 in this repository, but I am wondering if this version can be changed. |
Yup, I think we would want to bump up to 11.7 when we switch to Jammy. We haven't outlined a precise policy on how we version CUDA. I don't think we want to become tied in to old toolkit versions. The situation is a bit nuanced, because generally the driver version on the host platform must be >= the version of the CUDA toolkit we pin in the docker image (see nvidia docs). Since 20.04 release, Ubuntu packages CUDA drivers in the main repos, so host machines (cloud machines) running with the default Ubuntu repos only will have old CUDA drivers that might not run docker images with more recent cuda-toolkits. I'm not sure if that's a real concern though, I think most users tend to install more recent drivers from NVIDIA (or use derivative distros that continue to upgrade to the latest NVIDIA drivers, like PopOS!) In a way, the limited selection in the base images makes this issue easier for us. It probably keeps things simpler if our focal-era images are cuda 11.1.1 and our jammy-era images bump to 11.7. |
🎉 |
Just as the release dates of R4.0.0 and Ubuntu 20.04 were only a few days apart, the release date of R4.2.0 could be right after Ubuntu 22.04.
Immediately after the release of jammy, there is a possibility that RSPM binary installation, RStudio, etc. are not compatible with jammy, so we may need to modify the build system.
https://discourse.ubuntu.com/t/jammy-jellyfish-release-schedule/23906
$ docker run --rm -it rocker/r-ver Rscript -e "read.csv('/usr/share/distro-info/ubuntu.csv') |> tail(1)" version codename series created release eol eol.server 36 22.04 LTS Jammy Jellyfish jammy 2021-10-14 2022-04-21 2027-04-21 2027-04-21 eol.esm 36 2032-04-21
The text was updated successfully, but these errors were encountered: