diff --git a/samples/Netcap/src/Dockerfile b/samples/Netcap/src/Dockerfile index 1dcd7b0a8d..95168a2088 100644 --- a/samples/Netcap/src/Dockerfile +++ b/samples/Netcap/src/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base ARG BRANCH=main ARG VERSION RUN apt update -y \ @@ -10,7 +10,7 @@ ENV BRANCH=${BRANCH} ENV VERSION=${VERSION} WORKDIR /app -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["Netcap.csproj", "."] diff --git a/src/Azure.IIoT.OpcUa.Publisher.Module/src/Azure.IIoT.OpcUa.Publisher.Module.csproj b/src/Azure.IIoT.OpcUa.Publisher.Module/src/Azure.IIoT.OpcUa.Publisher.Module.csproj index 14e6903725..e1fe57c991 100644 --- a/src/Azure.IIoT.OpcUa.Publisher.Module/src/Azure.IIoT.OpcUa.Publisher.Module.csproj +++ b/src/Azure.IIoT.OpcUa.Publisher.Module/src/Azure.IIoT.OpcUa.Publisher.Module.csproj @@ -12,7 +12,7 @@ DefaultContainer iotedge/opc-publisher root - mcr.microsoft.com/dotnet/aspnet:8.0-cbl-mariner2.0-distroless + mcr.microsoft.com/dotnet/aspnet:9.0-cbl-mariner2.0-distroless diff --git a/src/Azure.IIoT.OpcUa.Publisher.Service.Sdk/cli/Azure.IIoT.OpcUa.Publisher.Service.Cli.csproj b/src/Azure.IIoT.OpcUa.Publisher.Service.Sdk/cli/Azure.IIoT.OpcUa.Publisher.Service.Cli.csproj index c010f1a7f1..6b1dcb44fc 100644 --- a/src/Azure.IIoT.OpcUa.Publisher.Service.Sdk/cli/Azure.IIoT.OpcUa.Publisher.Service.Cli.csproj +++ b/src/Azure.IIoT.OpcUa.Publisher.Service.Sdk/cli/Azure.IIoT.OpcUa.Publisher.Service.Cli.csproj @@ -8,7 +8,7 @@ DefaultContainer iot/industrial-cli linux-x64 - mcr.microsoft.com/dotnet/runtime:8.0-cbl-mariner2.0-distroless + mcr.microsoft.com/dotnet/runtime:9.0-cbl-mariner2.0-distroless diff --git a/src/Azure.IIoT.OpcUa.Publisher.Service.WebApi/src/Azure.IIoT.OpcUa.Publisher.Service.WebApi.csproj b/src/Azure.IIoT.OpcUa.Publisher.Service.WebApi/src/Azure.IIoT.OpcUa.Publisher.Service.WebApi.csproj index bdf52df70d..6df1cdb451 100644 --- a/src/Azure.IIoT.OpcUa.Publisher.Service.WebApi/src/Azure.IIoT.OpcUa.Publisher.Service.WebApi.csproj +++ b/src/Azure.IIoT.OpcUa.Publisher.Service.WebApi/src/Azure.IIoT.OpcUa.Publisher.Service.WebApi.csproj @@ -10,7 +10,7 @@ DefaultContainer iot/industrial-iot-services-all - mcr.microsoft.com/dotnet/aspnet:8.0-cbl-mariner2.0-distroless + mcr.microsoft.com/dotnet/aspnet:9.0-cbl-mariner2.0-distroless