-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Upgrade Docker base image Ubuntu 22 -> Ubuntu 24 #2252
Conversation
PR Description updated to latest commit (5227639)
|
PR Review 🔍
|
PR Code Suggestions ✨
|
I feel it’s too early to start using Ubuntu 24.04 . |
Several failures in the build. What is your motivation to move to Ubuntu 24, @StegSchreck? @amardeep2006 makes a good point. |
I guess the failure will be solved when he reverted changes in |
The failures are all caused by the configuration of Regading the motivation: this docker image is two years behind now. I want to use modern Python 3.12 in my code which is using the standalone-firefox as base. Ubuntu 22 only comes with Python 3.10. I have considered other ways of achieveing the ssame effect, but updating the base image is the straight-forward way. Additionally all users would profit from more uptodate software, including security fixes on top of the new features I mentioned before. |
I was surprised to find out that 24.04 was released one month ago. A wide range of users uses these images, and I do not feel comfortable forcing them now to use the new Ubuntu version. I prefer to wait and then migrate. |
@StegSchreck, can you also sign the CLA? Later we can go ahead without the pending item |
Done. |
It looks like your commit without email or the email in the commit author doesn't match with CLA input. Can you take some time to check? |
I have re-signed the CLA with my second e-mail address. |
@diemol and @team Ubuntu 22 has some high level CVES (security vulnerabilities). We will very soon be blocked by our organization, United Health Group, from using this selenium helm chart if it does not extend the Ubuntu 24 image. |
@skycanine Can you please share the scan report and docker image tags that were scanned. The trick is to keep updating the base image which this project does with the help of Renovate bot. Dockerfile also has apt-get update and apt-get upgrade commands to auto patch the vulnerable packages . Older images built sometimes back may have the vulnerable packages but the newer builds should automatically be patched. |
@amardeep2006 Second page: |
"Ubuntu 22 LTS is supported till 01 Apr 2027 so it should get all the security updates." - I think I may have checked on this myself and found there was no fix when I last checked. The vulnerability still exists in "docker.repo1.uhc.com/selenium/node-chrome:4.21.0-20240522"; the screen shot above shows a slightly older image. |
Looks like CVE-2016-1585 didn't come from the base OS 22.04 image since it is not present in list https://hub.docker.com/layers/library/ubuntu/jammy/images/sha256-2af372c1e2645779643284c7dc38775e3dbbc417b2d784a27c5a9eb784014fb8?context=explore |
I looked at https://bugs.launchpad.net/apparmor/+bug/1597017 |
I intend to configure the next release to publish both Jammy and Noble. For the main tags convention, it will use Noble, and Jammy will be tagged as |
User description
Description
Uprage from Ubuntu 22 LTS to Ubuntu 24 LTS
See #2251
Motivation and Context
Newer bas OS somes with security patches and newer software, e.g. Python 3.12 instead of 3.10
Types of changes
Checklist
PR Type
Enhancement
Description
Base/Dockerfile
from Ubuntu 22 (jammy) to Ubuntu 24 (noble).Base/Dockerfile
andVideo/Dockerfile
to use the new Ubuntu 24 (noble) repositories.Changes walkthrough 📝
Dockerfile
Upgrade Docker Base Image and APT Sources to Ubuntu 24
Base/Dockerfile
Dockerfile
Update APT Sources to Ubuntu 24 in Video Dockerfile
Video/Dockerfile