Description
Rollout will begin on December 5th and will complete on January 17th, 2025.
Breaking changes
Ubuntu 24.04 is ready to be the default version for the "ubuntu-latest" label in GitHub Actions and Azure DevOps.
Target date
This change will be rolled out over a period of several weeks beginning December 5th and will complete on January 17th, 2025.
The motivation for the changes
GitHub Actions and Azure DevOps have supported Ubuntu 24.04 in preview mode since May 2024, and starting from July 2024 Ubuntu 24.04 is generally available for all customers. We have monitored customer feedback to improve the Ubuntu 24.04 image stability and now we are ready to set it as the latest. There are a set of packages listed below that we have removed from the Ubuntu 24 image. Please review the list carefully to see if you will be impacted by these changes. We have made cuts to the list of packages so that we can maintain our SLA for free disk space. The images have grown so large we are in danger of violating our SLA if we keep the package list as-is.
The factors we took into consideration when removing packages are as follows:
- How long does it take to install the tool at runtime?
- How much space does it take up on the image?
- How many users are there of the tool?
We understand that our reasoning may not make sense to some of you out there, but please bear in mind that we tried to keep disruptions as minimal as possible, and tried to keep the best interests of the community at large in mind. There is a very large and diverse community using our images, and as much as we would like to, we cannot pre-install every tool on these images.
Platforms affected
- Azure DevOps
- GitHub Actions
Mitigation ways
Steps or options for impact mitigation
If you see any issues with your workflows during transition period:
- Switch back to Ubuntu 22 by changing workflow YAML to use
runs-on: ubuntu-22.04
We support two latest LTS Ubuntu versions, so Ubuntu 22 will still be maintained for the next 2 years. - File an issue in this repository
Software Differences
The Ubuntu 22.04 image has a different set of software than Ubuntu 24.04. The most significant changes are listed in the table below:
Tool name | Ubuntu 22.04 | Ubuntu 24.04 | Notes |
---|---|---|---|
Clang |
|
|
The most recent versions are installed |
GCC / GNU C++ / GNU Fortran |
|
|
The most recent versions are installed |
PHP | 8.1.* | 8.3.* | The most recent version are installed |
Java |
|
|
Default Java switched to 17.* for Ubuntu 24.04 image. |
Python |
|
|
Pre-cached versions currently unavailable. Default version switched to the latest one. On GitHub Actions, actions/setup-python can install any version on-flight so this change doesn't impact users |
Go |
|
|
If your use-case requires using any of these versions, consider using tasks to install Go on-flight:
|
PyPy |
|
|
Deprecated all the versions besides the most recent ones |
Ruby |
|
|
We need to update 3.3.5 |
Node.js |
|
|
If your use-case requires using any of these versions, consider using tasks to install Node.js on-flight:
|
Heroku | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
Leiningen | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
Mono / MSBuild / NuGet | latest available | - | Software is not available for Ubuntu 24 at the moment. |
Terraform | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
R | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
SVN | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
Alibaba Cloud CLI | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
Netlify CLI | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
OpenShift CLI | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
ORAS CLI | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
Vercel CLI | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
Bindgen / Cbindgen | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
Cargo audit/clippy/outdated | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
.NET Core SDK |
|
|
Please consider using tasks to install any version on-flight:
|
PostgreSQL | 14.* | 16.* | More recent version are installed |
MS SQL Server Client Tools | sqlcmd / SqlPackage | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
MarkdownPS Module | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
Android Command Line Tools | 9.0 | 12.0 | The most recent version are installed |
Android SDK Build-tools |
|
|
The most recent version are installed |
Android NDK |
|
|
The most recent version are installed |
Cached Docker images |
|
- | Removed from the Ubuntu 24.04 image due to maintenance reasons. |