Skip to content

Commit

Permalink
Update docker base images
Browse files Browse the repository at this point in the history
  • Loading branch information
marcschier committed Jan 15, 2025
1 parent a7685ea commit 8dd3162
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions samples/Netcap/src/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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", "."]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PublishProfile>DefaultContainer</PublishProfile>
<ContainerRepository>iotedge/opc-publisher</ContainerRepository>
<ContainerUser>root</ContainerUser>
<ContainerBaseImage>mcr.microsoft.com/dotnet/aspnet:8.0-cbl-mariner2.0-distroless</ContainerBaseImage>
<ContainerBaseImage>mcr.microsoft.com/dotnet/aspnet:9.0-cbl-mariner2.0-distroless</ContainerBaseImage>
</PropertyGroup>
<ItemGroup>
<ContainerEnvironmentVariable Include="APP_UID" Value="" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PublishProfile>DefaultContainer</PublishProfile>
<ContainerRepository>iot/industrial-cli</ContainerRepository>
<ContainerRuntimeIdentifier>linux-x64</ContainerRuntimeIdentifier>
<ContainerBaseImage>mcr.microsoft.com/dotnet/runtime:8.0-cbl-mariner2.0-distroless</ContainerBaseImage>
<ContainerBaseImage>mcr.microsoft.com/dotnet/runtime:9.0-cbl-mariner2.0-distroless</ContainerBaseImage>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="9.0.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PropertyGroup>
<PublishProfile>DefaultContainer</PublishProfile>
<ContainerRepository>iot/industrial-iot-services-all</ContainerRepository>
<ContainerBaseImage>mcr.microsoft.com/dotnet/aspnet:8.0-cbl-mariner2.0-distroless</ContainerBaseImage>
<ContainerBaseImage>mcr.microsoft.com/dotnet/aspnet:9.0-cbl-mariner2.0-distroless</ContainerBaseImage>
</PropertyGroup>
<ItemGroup>
<ContainerPort Include="9080" Type="tcp" />
Expand Down

0 comments on commit 8dd3162

Please sign in to comment.