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

Update images to Ubuntu 24.04 LTS #2114

Closed
lukasbehammer opened this issue Apr 30, 2024 · 4 comments
Closed

Update images to Ubuntu 24.04 LTS #2114

lukasbehammer opened this issue Apr 30, 2024 · 4 comments
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

Comments

@lukasbehammer
Copy link

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.

@lukasbehammer lukasbehammer added the type:Enhancement A proposed enhancement to the docker images label Apr 30, 2024
@mathbunnyru
Copy link
Member

mathbunnyru commented Apr 30, 2024

I think you can install gcc-13 on Ubuntu 22.04: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test?field.series_filter=jammy
And it will probably provide g++-13 for you.

Please, close this issue if it works for you, as you have a specific gcc issue.

I also doubt we will be updating Ubuntu version any time soon:

  1. We have a policy where we wait for the first point release: https://jupyter-docker-stacks.readthedocs.io/en/latest/maintaining/tasks.html#updating-the-ubuntu-base-image
  2. We need to give developers and maintainers some time to update their software to be used on Ubuntu 24.04

@mathbunnyru mathbunnyru added the status:Need Info We believe we need more information about an issue from the reporting user to help, debug, fix label May 5, 2024
@lukasbehammer
Copy link
Author

Thanks for your fast answer. I will keep using my custom built image until you support a newer version.

@jtroe
Copy link

jtroe commented Jul 9, 2024

Is there a timeline to update docker-stacks-foundation to 24.04? It is now the latest supported LTS.

@mathbunnyru
Copy link
Member

Is there a timeline to update docker-stacks-foundation to 24.04? It is now the latest supported LTS.

https://jupyter-docker-stacks.readthedocs.io/en/latest/maintaining/tasks.html#updating-the-ubuntu-base-image

Ubuntu 24.04.1 should be released August 15, 2024: https://wiki.ubuntu.com/Releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants