Skip to content

Commit 4d0852c

Browse files
chore: update .NET runtime to 8.0.20 and security packages to latest versions (#2683)
1 parent 3698dc4 commit 4d0852c

File tree

21 files changed

+39
-41
lines changed

21 files changed

+39
-41
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
variables:
2-
DotNet.Sdk.Version: '8.0.412'
2+
DotNet.Sdk.Version: '8.0.414'
33
DotNet.Configuration: 'release'

src/Promitor.Agents.Core/Promitor.Agents.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
5-
<RuntimeFrameworkVersion>8.0.18</RuntimeFrameworkVersion>
5+
<RuntimeFrameworkVersion>8.0.20</RuntimeFrameworkVersion>
66
</PropertyGroup>
77

88
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

src/Promitor.Agents.ResourceDiscovery/Dockerfile.linux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ COPY Promitor.Integrations.Sinks.Core/* Promitor.Integrations.Sinks.Core/
1414
COPY Promitor.Integrations.Sinks.Prometheus/* Promitor.Integrations.Sinks.Prometheus/
1515
RUN dotnet publish Promitor.Agents.ResourceDiscovery/Promitor.Agents.ResourceDiscovery.csproj --configuration release --output /app /p:Version=$VERSION
1616

17-
FROM mcr.microsoft.com/dotnet/aspnet:8.0.18-cbl-mariner2.0-distroless AS runtime-base
17+
FROM mcr.microsoft.com/dotnet/aspnet:8.0.20-cbl-mariner2.0-distroless AS runtime-base
1818

1919
FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 AS installer
2020

src/Promitor.Agents.ResourceDiscovery/Promitor.Agents.ResourceDiscovery.csproj

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
55
<DockerComposeProjectPath>..\docker-compose.dcproj</DockerComposeProjectPath>
6-
<RuntimeFrameworkVersion>8.0.18</RuntimeFrameworkVersion>
6+
<RuntimeFrameworkVersion>8.0.20</RuntimeFrameworkVersion>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
<DocumentationFile>Docs\Open-Api.xml</DocumentationFile>
99
<UserSecretsId>159d036b-3697-40d4-bdc4-7d9736521375</UserSecretsId>
@@ -42,10 +42,9 @@
4242
<PackageReference Include="Polly" Version="8.6.2" />
4343

4444
<!-- Explicitly pin dependencies on container project to mitigate security vulnerabilities -->
45-
<PackageReference Include="System.Drawing.Common" Version="9.0.2" />
46-
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="8.0.1" />
47-
<PackageReference Include="System.Security.Cryptography.Xml" Version="8.0.2" />
48-
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
45+
<PackageReference Include="System.Drawing.Common" Version="9.0.9" />
46+
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="9.0.9" />
47+
<PackageReference Include="System.Security.Cryptography.Xml" Version="9.0.9" />
4948
</ItemGroup>
5049

5150
<ItemGroup>

src/Promitor.Agents.Scraper/Dockerfile.linux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ COPY Promitor.Integrations.Sinks.Statsd/* Promitor.Integrations.Sinks.Statsd/
1818
COPY Promitor.Agents.Scraper/* Promitor.Agents.Scraper/
1919
RUN dotnet publish Promitor.Agents.Scraper/Promitor.Agents.Scraper.csproj --configuration release --output app /p:Version=$VERSION
2020

21-
FROM mcr.microsoft.com/dotnet/aspnet:8.0.18-cbl-mariner2.0-distroless AS runtime-base
21+
FROM mcr.microsoft.com/dotnet/aspnet:8.0.20-cbl-mariner2.0-distroless AS runtime-base
2222

2323
FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 AS installer
2424

src/Promitor.Agents.Scraper/Promitor.Agents.Scraper.csproj

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
55
<DockerComposeProjectPath>..\docker-compose.dcproj</DockerComposeProjectPath>
6-
<RuntimeFrameworkVersion>8.0.18</RuntimeFrameworkVersion>
6+
<RuntimeFrameworkVersion>8.0.20</RuntimeFrameworkVersion>
77
<!--<DockerDefaultTargetOS>Windows</DockerDefaultTargetOS>-->
88
</PropertyGroup>
99

@@ -43,10 +43,9 @@
4343
<PackageReference Include="YamlDotNet" Version="15.1.6" />
4444

4545
<!-- Explicitly pin dependencies on container project to mitigate security vulnerabilities -->
46-
<PackageReference Include="System.Drawing.Common" Version="9.0.2" />
47-
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="8.0.1" />
48-
<PackageReference Include="System.Security.Cryptography.Xml" Version="8.0.2" />
49-
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
46+
<PackageReference Include="System.Drawing.Common" Version="9.0.9" />
47+
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="9.0.9" />
48+
<PackageReference Include="System.Security.Cryptography.Xml" Version="9.0.9" />
5049
</ItemGroup>
5150

5251
<ItemGroup>

src/Promitor.Core.Contracts/Promitor.Core.Contracts.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
5-
<RuntimeFrameworkVersion>8.0.18</RuntimeFrameworkVersion>
5+
<RuntimeFrameworkVersion>8.0.20</RuntimeFrameworkVersion>
66
</PropertyGroup>
77

88
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

src/Promitor.Core.Scraping/Promitor.Core.Scraping.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
5-
<RuntimeFrameworkVersion>8.0.18</RuntimeFrameworkVersion>
5+
<RuntimeFrameworkVersion>8.0.20</RuntimeFrameworkVersion>
66
<LangVersion>8</LangVersion>
77
</PropertyGroup>
88

src/Promitor.Core.Telemetry/Promitor.Core.Telemetry.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
5-
<RuntimeFrameworkVersion>8.0.18</RuntimeFrameworkVersion>
5+
<RuntimeFrameworkVersion>8.0.20</RuntimeFrameworkVersion>
66
</PropertyGroup>
77

88
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

src/Promitor.Core/Promitor.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
5-
<RuntimeFrameworkVersion>8.0.18</RuntimeFrameworkVersion>
5+
<RuntimeFrameworkVersion>8.0.20</RuntimeFrameworkVersion>
66
</PropertyGroup>
77

88
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

0 commit comments

Comments
 (0)