Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ 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 ./
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 ./
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <EXECUTION_ROLE_ARN> \
--zip-file fileb://function.zip \
Expand All @@ -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. |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -566,15 +566,15 @@ 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 ./
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 ./
Expand Down