Azurelinux 3.0 .NET 11.0 source-build-test image#1575
Azurelinux 3.0 .NET 11.0 source-build-test image#1575NikolaMilosavljevic merged 1 commit intodotnet:mainfrom
Conversation
| @@ -0,0 +1,39 @@ | |||
| ARG DOTNET_VERSION | |||
| FROM mcr.microsoft.com/dotnet/nightly/sdk:$DOTNET_VERSION-azurelinux3.0-amd64 AS installer | |||
There was a problem hiding this comment.
Maybe we could future-proof things a bit more. Instead of a copy, I think we can reuse the one from the net8.0 directory with a bit of tweaks that will allow it to work for future preview versions as well.
| FROM mcr.microsoft.com/dotnet/nightly/sdk:$DOTNET_VERSION-azurelinux3.0-amd64 AS installer | |
| ARG REPO_MODIFIER | |
| FROM mcr.microsoft.com/dotnet/${REPO_MODIFIER}sdk:$DOTNET_VERSION-azurelinux3.0-amd64 AS installer |
And then in the manifest you would set REPO_MODIFIER to nightly/ for the 11.0 version. Then once 11.0 P1 ships, all that needs to be done is remove that arg from the manifest.
There was a problem hiding this comment.
Makes sense. Will commit this change and update the manifest in a new commit.
There was a problem hiding this comment.
Actually, since we're modifying the old file - I'll make all the changes in a new commit.
There was a problem hiding this comment.
Since ImageBuilder doesn't support the curly brace syntax in this case, you can ignore this change.
|
It won't help to merge it since it will just fail in the internal build too. @dotnet/prodconsvcs - The build needs fixing. |
Fixes: dotnet/dotnet#4177
Updates
azurelinux/3.0/net11.0/source-build-test/amd64to use .NET 11 preview base image fromnightlyrepo.Will create a tracking issue to switch back to main repo after .NET 11 preview ships.