Skip to content

Conversation

@lbussell
Copy link
Member

@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 requested review from a team and jander-msft as code owners March 5, 2024 19:26
@ghost ghost added area-dockerfiles Concerns the official .NET Dockerfiles or Dockerfile templates untriaged labels Mar 5, 2024
@lbussell lbussell force-pushed the dev/loganbussell/noble branch from b86bb39 to 27d7253 Compare March 5, 2024 21:08
@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
Member 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
Member Author

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

@lbussell
Copy link
Member 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
Member 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
Member 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 lbussell force-pushed the dev/loganbussell/noble branch from 0980fa9 to 27d98a9 Compare April 10, 2024 23:34
@lbussell
Copy link
Member 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
Member 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 lbussell force-pushed the dev/loganbussell/noble branch from 5c2f9b1 to 6e845de Compare April 22, 2024 21:01
@lbussell lbussell requested a review from mthalman April 22, 2024 21:02
Apparently dotnet add package gives a better error message
@lbussell
Copy link
Member 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
Member 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
@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
@lbussell lbussell deleted the dev/loganbussell/noble branch July 16, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-dockerfiles Concerns the official .NET Dockerfiles or Dockerfile templates untriaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants