Skip to content

Commit e98391b

Browse files
committed
[ksqlDb.RestApi.Client]: WorkerService example upgraded to .NET 9
1 parent c2be3ce commit e98391b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Samples/ksqldB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22

3-
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
3+
FROM mcr.microsoft.com/dotnet/runtime:9.0 AS base
44
WORKDIR /app
55

6-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
6+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
77
WORKDIR /src
88
COPY ["ksqldB.RestApi.Client.WorkerService/ksqldB.RestApi.Client.WorkerService.csproj", "ksqldB.RestApi.Client.WorkerService/"]
99
RUN dotnet restore "ksqldB.RestApi.Client.WorkerService/ksqldB.RestApi.Client.WorkerService.csproj"

Samples/ksqldB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Worker">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<UserSecretsId>dotnet-ksqldB.RestApi.Client.WorkerService-C9138ED6-2AB5-44F3-A873-9FCD6EAA7B8E</UserSecretsId>

0 commit comments

Comments
 (0)