diff --git a/build/__dotNetCoreRunTimeVersions.sh b/build/__dotNetCoreRunTimeVersions.sh
index 937835abaa..d1e4c584b2 100644
--- a/build/__dotNetCoreRunTimeVersions.sh
+++ b/build/__dotNetCoreRunTimeVersions.sh
@@ -1,6 +1,6 @@
# This file was auto-generated from 'constants.yaml'. Changes may be overridden.
-DOT_NET_CORE_RUNTIME_BASE_TAG='20211027.5'
+DOT_NET_CORE_RUNTIME_BASE_TAG='20211031.2'
NET_CORE_APP_10='1.0.16'
NET_CORE_APP_11='1.1.13'
NET_CORE_APP_20='2.0.9'
@@ -22,7 +22,7 @@ NET_CORE_APP_50='5.0.9'
NET_CORE_APP_50_SHA='454a11d87199be6fcd5f97f28b0f9c2f15c0288dd0759dc96ac2c730697b9e6514a19bbfc06185ccb4289dd11681ea5e9cfaf6f3676040e36d21e9b90282af8d'
ASPNET_CORE_APP_50='5.0.9'
ASPNET_CORE_APP_50_SHA='67ac99b8f631684961aa2e887ed5d6b9cc301b06a1842ac212791860bf6de145831228df5f57eca8a97e16e569e7b5a308fd20d82f11569c375c689fc932dfff'
-NET_CORE_APP_60='6.0.0-rc.2.21480.5'
-NET_CORE_APP_60_SHA='45062417c6111af4d635868927e8f69d43f66c9e0f111cb71c1861eaf5ceda4aefa99d97c6ce3b13fac2bc7c57c435e6f8b2d43c51a3bb3304b42081d98f7047'
-ASPNET_CORE_APP_60='6.0.0-rc.2.21480.10'
-ASPNET_CORE_APP_60_SHA='d48895237644a3999663b2e16baa2303d8b77f66385a04d8edb5601fdffacce18b1b1318827d09f74f6b133ff2c179ef659bd21cf8460289b5f81f404fa8b326'
+NET_CORE_APP_60='6.0.0'
+NET_CORE_APP_60_SHA='7cc8d93f9495b516e1b33bf82af3af605f1300bcfeabdd065d448cc126bd97ab4da5ec5e95b7775ee70ab4baf899ff43671f5c6f647523fb41cda3d96f334ae5'
+ASPNET_CORE_APP_60='6.0.0'
+ASPNET_CORE_APP_60_SHA='6a1ae878efdc9f654e1914b0753b710c3780b646ac160fb5a68850b2fd1101675dc71e015dbbea6b4fcf1edac0822d3f7d470e9ed533dd81d0cfbcbbb1745c6c'
diff --git a/build/__dotNetCoreSdkVersions.sh b/build/__dotNetCoreSdkVersions.sh
index a0f1172478..1b858ab335 100644
--- a/build/__dotNetCoreSdkVersions.sh
+++ b/build/__dotNetCoreSdkVersions.sh
@@ -8,3 +8,4 @@ DOT_NET_CORE_31_SDK_VERSION='3.1.412'
DOT_NET_CORE_50_SDK_VERSION='5.0.302'
DOT_NET_50_SDK_VERSION='5.0.400'
DOT_NET_60_SDK_VERSION='6.0.100-rc.2.21505.57'
+DOT_NET_60_RTM_SDK_VERSION='6-0-100-rtm-21527-11'
diff --git a/build/constants.yaml b/build/constants.yaml
index 8d0fd19fd3..be1f6d4c12 100644
--- a/build/constants.yaml
+++ b/build/constants.yaml
@@ -31,6 +31,7 @@
dot-net-core-50-sdk-version: 5.0.302
dot-net-50-sdk-version: 5.0.400
dot-net-60-sdk-version: 6.0.100-rc.2.21505.57
+ dot-net-60-rtm-sdk-version: 6-0-100-rtm-21527-11
outputs:
- type: csharp
directory: src/BuildScriptGenerator/DotNetCore
@@ -40,7 +41,7 @@
file-name-prefix: __
- name: dot-net-core-run-time-versions
constants:
- dot-net-core-runtime-base-tag: 20211027.5
+ dot-net-core-runtime-base-tag: 20211031.2
net-core-app-10: 1.0.16
net-core-app-11: 1.1.13
@@ -69,11 +70,11 @@
aspnet-core-app-50: 5.0.9
aspnet-core-app-50-sha: 67ac99b8f631684961aa2e887ed5d6b9cc301b06a1842ac212791860bf6de145831228df5f57eca8a97e16e569e7b5a308fd20d82f11569c375c689fc932dfff
- net-core-app-60: 6.0.0-rc.2.21480.5
- net-core-app-60-sha: 45062417c6111af4d635868927e8f69d43f66c9e0f111cb71c1861eaf5ceda4aefa99d97c6ce3b13fac2bc7c57c435e6f8b2d43c51a3bb3304b42081d98f7047
+ net-core-app-60: 6.0.0
+ net-core-app-60-sha: 7cc8d93f9495b516e1b33bf82af3af605f1300bcfeabdd065d448cc126bd97ab4da5ec5e95b7775ee70ab4baf899ff43671f5c6f647523fb41cda3d96f334ae5
- aspnet-core-app-60: 6.0.0-rc.2.21480.10
- aspnet-core-app-60-sha: d48895237644a3999663b2e16baa2303d8b77f66385a04d8edb5601fdffacce18b1b1318827d09f74f6b133ff2c179ef659bd21cf8460289b5f81f404fa8b326
+ aspnet-core-app-60: 6.0.0
+ aspnet-core-app-60-sha: 6a1ae878efdc9f654e1914b0753b710c3780b646ac160fb5a68850b2fd1101675dc71e015dbbea6b4fcf1edac0822d3f7d470e9ed533dd81d0cfbcbbb1745c6c
outputs:
@@ -175,6 +176,7 @@
run-script-generator-dir: /opt/startupcmdgen
node-app-insights-loader-file-name: applicationinsights/out/Bootstrap/Oryx.js
node-global-modules-path: /usr/local/lib/node_modules
+ logger-path: /opt/oryx/logger
bash: /bin/bash
benv: /opt/oryx/benv
pre-run-command-env-var-name: PRE_RUN_COMMAND
diff --git a/images/build/Dockerfiles/azureFunctions.JamStack.Dockerfile b/images/build/Dockerfiles/azureFunctions.JamStack.Dockerfile
index bda19c6f15..29da86826f 100644
--- a/images/build/Dockerfiles/azureFunctions.JamStack.Dockerfile
+++ b/images/build/Dockerfiles/azureFunctions.JamStack.Dockerfile
@@ -27,7 +27,6 @@ RUN oryx prep --skip-detection --platforms-and-versions nodejs=12 \
&& cd /opt/dotnet \
&& ln -s $DOT_NET_CORE_31_SDK_VERSION 3-lts \
&& ln -s 3-lts lts \
- && echo "jamstack" > /opt/oryx/.imagetype \
&& . /tmp/build/__goVersions.sh \
&& downloadedFileName="go${GO_VERSION}.linux-amd64.tar.gz" \
&& ${IMAGES_DIR}/retry.sh "curl -SLsO https://golang.org/dl/$downloadedFileName" \
@@ -64,5 +63,5 @@ RUN set -ex \
&& ln -s $PYTHON38_VERSION latest \
&& ln -s $PYTHON38_VERSION stable \
&& echo "jamstack" > /opt/oryx/.imagetype
-
+
RUN ./opt/tmp/build/createSymlinksForDotnet.sh
\ No newline at end of file
diff --git a/images/runtime/dotnetcore/6.0/base.buster.Dockerfile b/images/runtime/dotnetcore/6.0/base.buster.Dockerfile
index f1c0243b16..9e6ac28c7d 100644
--- a/images/runtime/dotnetcore/6.0/base.buster.Dockerfile
+++ b/images/runtime/dotnetcore/6.0/base.buster.Dockerfile
@@ -6,7 +6,7 @@ RUN dotnet tool install --tool-path /dotnetcore-tools dotnet-trace
RUN dotnet tool install --tool-path /dotnetcore-tools dotnet-dump
RUN dotnet tool install --tool-path /dotnetcore-tools dotnet-counters
RUN dotnet tool install --tool-path /dotnetcore-tools dotnet-gcdump
-RUN dotnet tool install --tool-path /dotnetcore-tools dotnet-monitor --add-source https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet5-transport/nuget/v3/index.json --version 6.0.0-preview.8*
+RUN dotnet tool install --tool-path /dotnetcore-tools --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools%40Local/nuget/v3/index.json --version 6.0.0-rtm.* dotnet-monitor
FROM debian:buster-slim
ARG BUILD_DIR=/tmp/oryx/build
diff --git a/platforms/dotnet/getDotNetSdk.sh b/platforms/dotnet/getDotNetSdk.sh
index 6cd2ffe559..3d9c00757a 100755
--- a/platforms/dotnet/getDotNetSdk.sh
+++ b/platforms/dotnet/getDotNetSdk.sh
@@ -44,6 +44,7 @@ getDotNetCoreSdk() {
curl -SL $downloadUrl --output "$downloadedFile"
echo "Verifying archive hash..."
echo "$sha $downloadedFile" | sha512sum -c -
+
# Find the runtime version
tar -xzf $downloadedFile -C .
runtimeVersionDir=$(find "$tempDir/shared/Microsoft.NETCore.App" -mindepth 1 -maxdepth 1 -type d)
diff --git a/platforms/dotnet/versionsToBuild.txt b/platforms/dotnet/versionsToBuild.txt
index 71d2736def..40e0289e69 100644
--- a/platforms/dotnet/versionsToBuild.txt
+++ b/platforms/dotnet/versionsToBuild.txt
@@ -62,4 +62,6 @@
6.0.100-rc.2.21505.57, 0a8f85a2757f61ca7f9b8c546af4554c2aac9cdb06f6d62879a60de6f2a3d37ea7136f48896c9c85828a2d55df354e7b9b5b4dc22896c927f0c6370a5ade1b9c,
+6.0.100-rtm.21524.1, CB0D174A79D6294C302261B645DBA6A479DA8F7CF6C1FE15AE6998BC09C5E0BAEC810822F9E0104E84B0EFD51FDC0333306CB2A0A6FCDBAF515A8AD8CF1AF25B, https://dotnetstage.blob.core.windows.net/6-0-100-rtm-21527-11-public/Sdk/6.0.100-rtm.21527.11/dotnet-sdk-6.0.100-linux-x64.tar.gz
+
# NOTE: Make sure to set the default version in 'defaultVersion.txt' file
diff --git a/src/BuildScriptGenerator.Common/FilePaths.cs b/src/BuildScriptGenerator.Common/FilePaths.cs
index cc0f1dbdf7..45b28318ba 100644
--- a/src/BuildScriptGenerator.Common/FilePaths.cs
+++ b/src/BuildScriptGenerator.Common/FilePaths.cs
@@ -10,9 +10,9 @@ public static class FilePaths
public const string RunScriptGeneratorDir = "/opt/startupcmdgen";
public const string NodeAppInsightsLoaderFileName = "applicationinsights/out/Bootstrap/Oryx.js";
public const string NodeGlobalModulesPath = "/usr/local/lib/node_modules";
+ public const string LoggerPath = "/opt/oryx/logger";
public const string Bash = "/bin/bash";
public const string Benv = "/opt/oryx/benv";
- public const string Logger = "/opt/oryx/logger";
public const string PreRunCommandEnvVarName = "PRE_RUN_COMMAND";
}
}
\ No newline at end of file
diff --git a/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs b/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs
index 181c9445b4..74d060716c 100644
--- a/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs
+++ b/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs
@@ -344,7 +344,7 @@ private string BuildScriptFromSnippets(
BuildCommandsFileName = context.BuildCommandsFileName,
BuildProperties = buildProperties,
BenvPath = FilePaths.Benv,
- LoggerPath = FilePaths.Logger,
+ LoggerPath = FilePaths.LoggerPath,
PlatformInstallationScript = installationScript,
OutputDirectoryIsNested = outputIsSubDirOfSourceDir,
CopySourceDirectoryContentToDestinationDirectory = copySourceDirectoryContentToDestinationDirectory,
diff --git a/src/BuildScriptGenerator/DotNetCore/DotNetCoreRunTimeVersions.cs b/src/BuildScriptGenerator/DotNetCore/DotNetCoreRunTimeVersions.cs
index 3d1d6ea4f6..82ec6b13d6 100644
--- a/src/BuildScriptGenerator/DotNetCore/DotNetCoreRunTimeVersions.cs
+++ b/src/BuildScriptGenerator/DotNetCore/DotNetCoreRunTimeVersions.cs
@@ -4,7 +4,7 @@ namespace Microsoft.Oryx.BuildScriptGenerator.DotNetCore
{
public static class DotNetCoreRunTimeVersions
{
- public const string DotNetCoreRuntimeBaseTag = "20211027.5";
+ public const string DotNetCoreRuntimeBaseTag = "20211031.2";
public const string NetCoreApp10 = "1.0.16";
public const string NetCoreApp11 = "1.1.13";
public const string NetCoreApp20 = "2.0.9";
@@ -26,9 +26,9 @@ public static class DotNetCoreRunTimeVersions
public const string NetCoreApp50Sha = "454a11d87199be6fcd5f97f28b0f9c2f15c0288dd0759dc96ac2c730697b9e6514a19bbfc06185ccb4289dd11681ea5e9cfaf6f3676040e36d21e9b90282af8d";
public const string AspnetCoreApp50 = "5.0.9";
public const string AspnetCoreApp50Sha = "67ac99b8f631684961aa2e887ed5d6b9cc301b06a1842ac212791860bf6de145831228df5f57eca8a97e16e569e7b5a308fd20d82f11569c375c689fc932dfff";
- public const string NetCoreApp60 = "6.0.0-rc.2.21480.5";
- public const string NetCoreApp60Sha = "45062417c6111af4d635868927e8f69d43f66c9e0f111cb71c1861eaf5ceda4aefa99d97c6ce3b13fac2bc7c57c435e6f8b2d43c51a3bb3304b42081d98f7047";
- public const string AspnetCoreApp60 = "6.0.0-rc.2.21480.10";
- public const string AspnetCoreApp60Sha = "d48895237644a3999663b2e16baa2303d8b77f66385a04d8edb5601fdffacce18b1b1318827d09f74f6b133ff2c179ef659bd21cf8460289b5f81f404fa8b326";
+ public const string NetCoreApp60 = "6.0.0";
+ public const string NetCoreApp60Sha = "7cc8d93f9495b516e1b33bf82af3af605f1300bcfeabdd065d448cc126bd97ab4da5ec5e95b7775ee70ab4baf899ff43671f5c6f647523fb41cda3d96f334ae5";
+ public const string AspnetCoreApp60 = "6.0.0";
+ public const string AspnetCoreApp60Sha = "6a1ae878efdc9f654e1914b0753b710c3780b646ac160fb5a68850b2fd1101675dc71e015dbbea6b4fcf1edac0822d3f7d470e9ed533dd81d0cfbcbbb1745c6c";
}
}
\ No newline at end of file
diff --git a/src/BuildScriptGenerator/DotNetCore/DotNetCoreSdkVersions.cs b/src/BuildScriptGenerator/DotNetCore/DotNetCoreSdkVersions.cs
index 84d6b2f4b1..90b6b1c036 100644
--- a/src/BuildScriptGenerator/DotNetCore/DotNetCoreSdkVersions.cs
+++ b/src/BuildScriptGenerator/DotNetCore/DotNetCoreSdkVersions.cs
@@ -12,5 +12,6 @@ public static class DotNetCoreSdkVersions
public const string DotNetCore50SdkVersion = "5.0.302";
public const string DotNet50SdkVersion = "5.0.400";
public const string DotNet60SdkVersion = "6.0.100-rc.2.21505.57";
+ public const string DotNet60RtmSdkVersion = "6-0-100-rtm-21527-11";
}
}
\ No newline at end of file
diff --git a/src/startupscriptgenerator/src/common/consts/file_paths.go b/src/startupscriptgenerator/src/common/consts/file_paths.go
index 2f69ceb6ed..ee8fd4d23a 100644
--- a/src/startupscriptgenerator/src/common/consts/file_paths.go
+++ b/src/startupscriptgenerator/src/common/consts/file_paths.go
@@ -8,6 +8,7 @@ const BuildCommandsFileName string = "oryx-build-commands.txt"
const RunScriptGeneratorDir string = "/opt/startupcmdgen"
const NodeAppInsightsLoaderFileName string = "applicationinsights/out/Bootstrap/Oryx.js"
const NodeGlobalModulesPath string = "/usr/local/lib/node_modules"
+const LoggerPath string = "/opt/oryx/logger"
const Bash string = "/bin/bash"
const Benv string = "/opt/oryx/benv"
const PreRunCommandEnvVarName string = "PRE_RUN_COMMAND"
diff --git a/tests/Oryx.BuildImage.Tests/DotNetCore/DotNetCoreSampleAppsTest.cs b/tests/Oryx.BuildImage.Tests/DotNetCore/DotNetCoreSampleAppsTest.cs
index 1f968687d9..97694631c3 100644
--- a/tests/Oryx.BuildImage.Tests/DotNetCore/DotNetCoreSampleAppsTest.cs
+++ b/tests/Oryx.BuildImage.Tests/DotNetCore/DotNetCoreSampleAppsTest.cs
@@ -321,6 +321,7 @@ public void Builds_Net6BlazorWasmApp_RunsAOTCompilationInstallCommands()
var appDir = volume.ContainerDir;
var script = new ShellScriptBuilder()
.AddDefaultTestEnvironmentVariables()
+ .AddCommand("dotnet nuget add source https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-rtm.21527.11-shipping/nuget/v3/index.json")
.AddBuildCommand(
$"{appDir} --platform dotnet " +
$"--platform-version 6")
@@ -754,7 +755,7 @@ public void Builds_AzureFunctionProject_FromBlazorFunctionRepo_When_Apptype_Is_S
var script = new ShellScriptBuilder()
.AddBuildCommand(
$"{appDir}/MessageFunction -o {appOutputDir} --apptype functions --platform dotnet " +
- $"--platform-version 3.1.8")
+ $"--platform-version 3.1")
.AddFileExistsCheck($"{appOutputDir}/{FilePaths.BuildManifestFileName}")
.ToString();
diff --git a/tests/SampleApps/DotNetCore/NetCore50IsolatedApp/NetCoreApp50Isolated.csproj b/tests/SampleApps/DotNetCore/NetCore50IsolatedApp/NetCoreApp50Isolated.csproj
index a186a3c0eb..b211b07b90 100644
--- a/tests/SampleApps/DotNetCore/NetCore50IsolatedApp/NetCoreApp50Isolated.csproj
+++ b/tests/SampleApps/DotNetCore/NetCore50IsolatedApp/NetCoreApp50Isolated.csproj
@@ -8,9 +8,9 @@
netcore50isolatedapp
-
-
-
+
+
+