File tree Expand file tree Collapse file tree
src/scaffolding/wizard/netCore Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ const minCSharpVersionString = '1.23.9';
2020const aspNetBaseImage = 'mcr.microsoft.com/dotnet/aspnet' ;
2121const consoleNetBaseImage = 'mcr.microsoft.com/dotnet/runtime' ;
2222const netSdkImage = 'mcr.microsoft.com/dotnet/sdk' ;
23- const linuxTagSuffix = '-focal' ;
2423
2524const cSharpExtensionId = 'ms-dotnettools.csharp' ;
2625const cSharpConfigId = 'csharp' ;
@@ -59,9 +58,8 @@ export class NetCoreGatherInformationStep extends GatherInformationStep<NetCoreS
5958
6059 // semver.coerce tolerates version strings like "5.0" which is typically what is present in the .NET project file
6160 const netCoreVersion = semver . coerce ( netCoreVersionString ) ;
62- const tagSuffix = wizardContext . netCorePlatformOS === "Linux" ? linuxTagSuffix : '' ;
63- wizardContext . netCoreRuntimeBaseImage = wizardContext . platform === '.NET: ASP.NET Core' ? `${ aspNetBaseImage } :${ netCoreVersion . major } .${ netCoreVersion . minor } ${ tagSuffix } ` : `${ consoleNetBaseImage } :${ netCoreVersion . major } .${ netCoreVersion . minor } ${ tagSuffix } ` ;
64- wizardContext . netCoreSdkBaseImage = `${ netSdkImage } :${ netCoreVersion . major } .${ netCoreVersion . minor } ${ tagSuffix } ` ;
61+ wizardContext . netCoreRuntimeBaseImage = wizardContext . platform === '.NET: ASP.NET Core' ? `${ aspNetBaseImage } :${ netCoreVersion . major } .${ netCoreVersion . minor } ` : `${ consoleNetBaseImage } :${ netCoreVersion . major } .${ netCoreVersion . minor } ` ;
62+ wizardContext . netCoreSdkBaseImage = `${ netSdkImage } :${ netCoreVersion . major } .${ netCoreVersion . minor } ` ;
6563 }
6664
6765 if ( ! wizardContext . serviceName ) {
You can’t perform that action at this time.
0 commit comments