Update images to Ubuntu 24.04 LTS #2114
Labels
status:Need Info
We believe we need more information about an issue from the reporting user to help, debug, fix
type:Enhancement
A proposed enhancement to the docker images
What docker image(s) is this feature applicable to?
docker-stacks-foundation
What change(s) are you proposing?
Use image ubuntu:24.04 to build from.
How does this affect the user?
Newer g++ versions higher than g++-11 can be installed via apt-get.
Anything else?
I develop a python package which uses C++20. To test the package before publishing I want to install it in a JupyterHub (Z2JH) instance. Since libraries that are not included with g++-11 are used, I want to use a newer Ubuntu version to be able to use g++-13. Changing the base image to ubuntu:24.04 fails because Ubuntu uses UID 1000 for the standard user "ubuntu" since Ubuntu 23.04. With the workaround under https://bugs.launchpad.net/cloud-images/+bug/2005129 (Adding "RUN userdel -r ubuntu" after the FROM statement to delete the user "ubuntu") I was able to successfully build a minimal-notebook image myself using ubuntu:24:04, installing g++-13 and finally build and install my Python package.
The text was updated successfully, but these errors were encountered: