Skip to content

Add Dockerfiles for .NET 9 - #5039

Merged
lbussell merged 18 commits into
dotnet:nightlyfrom
lbussell:net9
Dec 11, 2023
Merged

lbussell merged 18 commits into
dotnet:nightlyfrom
lbussell:net9

Conversation

@lbussell

@lbussell lbussell commented Dec 2, 2023

Copy link
Copy Markdown
Member

Fixes #5005

@ghost ghost added area-dockerfiles Concerns the official .NET Dockerfiles or Dockerfile templates untriaged labels Dec 2, 2023
Comment thread manifest.json Outdated
"sharedTags": {
"$(dotnet|6.0|product-version)": {},
"6.0": {}
"$(dotnet|9.0|product-version)": {},

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these $(dotnet|9.0|product-version) and 9.0 tags should have -preview. I think this is the cause of the test failures. Perhaps there should be a variable defined for each of these that can be referenced throughout. So when we need to remove the -preview, it just needs to be done in one spot.

Comment thread manifest.versions.json
Comment on lines 86 to +88
"chisel|6.0|ref": "v0.8.0",
"chisel|8.0|ref": "v0.8.0",
"chisel|9.0|ref": "v0.8.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there's currently no need to have separate values. We might as well reuse the $(chisel|6.0|ref) variable. Same applies for rocks-toolbox.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason they are separate is so that we don't rebuild all .NET versions in nightly when chisel has an update. But then again, it is nightly. Also, if we used the 6.0 ref as the base, then we would not pick up new chisel versions from the update-dependencies tool in 9.0 nightly builds (since we only update the chisel version when we update the runtime for a given .NET major version). I could see an argument to use 9.0 as the base variable so that we're testing the new chisel versions in old .NET versions before patch Tuesdays.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason they are separate is so that we don't rebuild all .NET versions in nightly when chisel has an update.

I don't see a problem with rebuilding in this case.

I could see an argument to use 9.0 as the base variable so that we're testing the new chisel versions in old .NET versions before patch Tuesdays.

Yes, that would be my preference. In case there is any difference in the usage of chisel between versions, it'd be good catch any issues in the nightly repo as a result of a chisel version upgrade.

@lbussell
lbussell marked this pull request as ready for review December 5, 2023 18:46
@lbussell
lbussell requested a review from a team as a code owner December 5, 2023 18:46
Comment thread manifest.versions.json Resolved
@lbussell

lbussell commented Dec 5, 2023

Copy link
Copy Markdown
Member Author

There is an issue with internal build matrix generation that I will need to work out before this is merged.

Comment thread manifest.json Resolved
@lbussell
lbussell enabled auto-merge (squash) December 7, 2023 22:44
@lbussell
lbussell merged commit 7381cdc into dotnet:nightly Dec 11, 2023
lbussell added a commit to lbussell/dotnet-docker that referenced this pull request Feb 9, 2024
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.

2 participants