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

Add Ubuntu 24.04 "noble" images #5241

Merged
merged 15 commits into from
Apr 24, 2024

Conversation

lbussell
Copy link
Contributor

@lbussell lbussell commented Mar 5, 2024

  • Added Noble images to 8.0
  • Replaced Jammy with Noble for 9.0 preview

We also needed a new solution for the AOT cross Dockerfiles since Ubuntu 24.04 is changing to the DEB822 standard for package source lists: https://manpages.debian.org/stretch/apt/sources.list.5.en.html

Related: #5181

@lbussell lbussell changed the title Add Ubuntu 22.04 "noble" images Add Ubuntu 24.04 "noble" images Mar 5, 2024
@richlander
Copy link
Member

FYI @baronfel

@lbussell
Copy link
Contributor Author

I was not able to reproduce the previous arm32 permissions issues locally today so we'll see if it passes PR validation this time.

@lbussell
Copy link
Contributor Author

Removed Noble arm32 images due to https://bugs.launchpad.net/ubuntu/+source/tar/+bug/2059734.

@lbussell
Copy link
Contributor Author

Filed #5319 to follow-up on the arm32 issue.

@lbussell lbussell force-pushed the dev/loganbussell/noble branch 2 times, most recently from 49d3a84 to 1296644 Compare March 29, 2024 20:15
@lbussell
Copy link
Contributor Author

lbussell commented Apr 2, 2024

Current issue: Noble package repos are undergoing a huge re-build since the compromised versions of liblzma and xz-utils were in the build environment of every package built since February 26. Not all packages are re-built yet so that's why we're getting unresolvable dependencies. We should continue retrying a couple times a day until all of our dependencies are available. Source

@lbussell
Copy link
Contributor Author

lbussell commented Apr 4, 2024

According to the Noble release schedule, it's probably best to wait until the Beta release date (2024-04-11) to merge these images.

@lbussell
Copy link
Contributor Author

Current issue - the Chisel tool isn't able to install some packages from the archive:

@richlander
Copy link
Member

I'm glad we're catching these issues early. Our support for Ubuntu has become more complex, so the early work is definitely warranted.

@lbussell lbussell force-pushed the dev/loganbussell/noble branch 3 times, most recently from a668dfb to 28a3d19 Compare April 18, 2024 04:31
@lbussell
Copy link
Contributor Author

The Noble arm32 SDK image is going to take additional work to work around the tar arm32 issue, since it isn't yet multi-stage. https://github.com/dotnet/dotnet-docker/pull/5241/files#diff-9f4ce0ee04bfb6f01b0ba93e25a9b6a5eaef983ab2b50d7791dc1c7dafa29a85

@lbussell lbussell force-pushed the dev/loganbussell/noble branch 3 times, most recently from 6739660 to 5c2f9b1 Compare April 22, 2024 19:51
@mthalman
Copy link
Member

@lbussell - Looks like Dockerfiles need to be regenerated.

@lbussell
Copy link
Contributor Author

lbussell commented Apr 23, 2024

The issue is that we can't establish an SSL connection to our NuGet feeds due to a NotTimeValid issue with the certs. This is probably due to the t64 migration. I am doing some additional investigation to determine where/if we need to respond to this in .NET.

 #10 2.041 info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/share/dotnet/sdk/9.0.100-preview.4.24221.5/trustedroots/codesignctl.pem'.
 #10 2.129 info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/share/dotnet/sdk/9.0.100-preview.4.24221.5/trustedroots/timestampctl.pem'.
 #10 2.133 info : Adding PackageReference for package 'foo' into project '/source/app/app.csproj'.
 #10 8.469 error: Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json.
 #10 8.469 error:   The SSL connection could not be established, see inner exception.
 #10 8.469 error:   The remote certificate is invalid because of errors in the certificate chain: NotTimeValid

@lbussell
Copy link
Contributor Author

Filed dotnet/runtime#101444 for the arm32 issue.

@lbussell lbussell enabled auto-merge (squash) April 23, 2024 21:06
@lbussell lbussell merged commit c76bc60 into dotnet:nightly Apr 24, 2024
135 checks passed
@richlander
Copy link
Member

Woohoo!

lbussell added a commit to lbussell/dotnet-docker that referenced this pull request May 10, 2024
lbussell added a commit to lbussell/dotnet-docker that referenced this pull request May 13, 2024
lbussell added a commit to lbussell/dotnet-docker that referenced this pull request May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants