From fd010c2b607fdcacbbe2f234fd65588182b6323e Mon Sep 17 00:00:00 2001 From: jmaeagle99 <44687433+jmaeagle99@users.noreply.github.com> Date: Thu, 17 Sep 2026 15:00:11 -0700 Subject: [PATCH] Update Cloud Run to demonstrate on .NET 10 --- docs/develop/dotnet/workers/serverless-workers/cloud-run.mdx | 4 ++-- .../serverless-workers/aws-lambda/index.mdx | 4 ++-- .../worker-deployments/serverless-workers/cloud-run/index.mdx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/develop/dotnet/workers/serverless-workers/cloud-run.mdx b/docs/develop/dotnet/workers/serverless-workers/cloud-run.mdx index ac4db24786..1c2d1dd674 100644 --- a/docs/develop/dotnet/workers/serverless-workers/cloud-run.mdx +++ b/docs/develop/dotnet/workers/serverless-workers/cloud-run.mdx @@ -95,7 +95,7 @@ For the full list of supported variables, the config file format, and profiles, Publish the Worker and run it on a .NET runtime image: ```dockerfile -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src COPY *.csproj ./ @@ -103,7 +103,7 @@ RUN dotnet restore COPY . . RUN dotnet publish -c Release -o /out -FROM mcr.microsoft.com/dotnet/runtime:9.0 +FROM mcr.microsoft.com/dotnet/runtime:10.0 WORKDIR /app COPY --from=build /out ./ diff --git a/docs/production-deployment/worker-deployments/serverless-workers/aws-lambda/index.mdx b/docs/production-deployment/worker-deployments/serverless-workers/aws-lambda/index.mdx index 906c2269b8..762532dfab 100644 --- a/docs/production-deployment/worker-deployments/serverless-workers/aws-lambda/index.mdx +++ b/docs/production-deployment/worker-deployments/serverless-workers/aws-lambda/index.mdx @@ -450,7 +450,7 @@ aws lambda create-function \ ```bash aws lambda create-function \ --function-name my-temporal-worker \ - --runtime dotnet8 \ + --runtime dotnet10 \ --handler MyAssembly::MyNamespace.Function::HandlerAsync \ --role \ --zip-file fileb://function.zip \ @@ -462,7 +462,7 @@ aws lambda create-function \ | Parameter | Description | | ----------------- | ---------------------------------------------------------------------------------------------------------------------- | | `--function-name` | Name of the Lambda function. | -| `--runtime` | Lambda runtime. Use `dotnet8` or another supported .NET version. | +| `--runtime` | Lambda runtime. Use `dotnet10` or another supported .NET version. | | `--handler` | Entry point in `Assembly::Namespace.Class::Method` format. Must point to the method that calls the worker handler. | | `SSL_CERT_FILE` | Required. The .NET Lambda runtime sets a default certificate path that the Temporal SDK cannot read. This overrides it with the system CA bundle so TLS connections work. | diff --git a/docs/production-deployment/worker-deployments/serverless-workers/cloud-run/index.mdx b/docs/production-deployment/worker-deployments/serverless-workers/cloud-run/index.mdx index 7032b32c72..f78122b78c 100644 --- a/docs/production-deployment/worker-deployments/serverless-workers/cloud-run/index.mdx +++ b/docs/production-deployment/worker-deployments/serverless-workers/cloud-run/index.mdx @@ -566,7 +566,7 @@ give the Worker more of the instance. Publish in one stage and run on a .NET runtime image: ```dockerfile -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src COPY *.csproj ./ @@ -574,7 +574,7 @@ RUN dotnet restore COPY . . RUN dotnet publish -c Release -o /out -FROM mcr.microsoft.com/dotnet/runtime:9.0 +FROM mcr.microsoft.com/dotnet/runtime:10.0 WORKDIR /app COPY --from=build /out ./