diff --git a/src/Promitor.Agents.Core/Promitor.Agents.Core.csproj b/src/Promitor.Agents.Core/Promitor.Agents.Core.csproj index 41ad6b831..df1584b87 100644 --- a/src/Promitor.Agents.Core/Promitor.Agents.Core.csproj +++ b/src/Promitor.Agents.Core/Promitor.Agents.Core.csproj @@ -21,7 +21,7 @@ - + diff --git a/src/Promitor.Agents.ResourceDiscovery/Dockerfile.linux b/src/Promitor.Agents.ResourceDiscovery/Dockerfile.linux index c6d756d87..c37f31b5d 100644 --- a/src/Promitor.Agents.ResourceDiscovery/Dockerfile.linux +++ b/src/Promitor.Agents.ResourceDiscovery/Dockerfile.linux @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0.305-cbl-mariner2.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0.306-cbl-mariner2.0 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" COPY Promitor.Agents.ResourceDiscovery/* Promitor.Agents.ResourceDiscovery/ @@ -13,7 +13,7 @@ COPY Promitor.Integrations.LogAnalytics/* Promitor.Integrations.LogAnalytics/ COPY Promitor.Integrations.Sinks.Prometheus/* Promitor.Integrations.Sinks.Prometheus/ RUN dotnet publish Promitor.Agents.ResourceDiscovery/Promitor.Agents.ResourceDiscovery.csproj --configuration release --output /app /p:Version=$VERSION -FROM mcr.microsoft.com/dotnet/aspnet:7.0.8-cbl-mariner2.0-distroless AS runtime-base +FROM mcr.microsoft.com/dotnet/aspnet:7.0.9-cbl-mariner2.0-distroless AS runtime-base FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 AS installer diff --git a/src/Promitor.Agents.ResourceDiscovery/Dockerfile.windows b/src/Promitor.Agents.ResourceDiscovery/Dockerfile.windows index 751428c26..3846d4682 100644 --- a/src/Promitor.Agents.ResourceDiscovery/Dockerfile.windows +++ b/src/Promitor.Agents.ResourceDiscovery/Dockerfile.windows @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0.305 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0.306 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" COPY Promitor.Agents.ResourceDiscovery/* Promitor.Agents.ResourceDiscovery/ @@ -13,7 +13,7 @@ COPY Promitor.Integrations.LogAnalytics/* Promitor.Integrations.LogAnalytics/ COPY Promitor.Integrations.Sinks.Prometheus/* Promitor.Integrations.Sinks.Prometheus/ RUN dotnet publish Promitor.Agents.ResourceDiscovery/Promitor.Agents.ResourceDiscovery.csproj --configuration release --output /app /p:Version=%VERSION% -FROM mcr.microsoft.com/dotnet/aspnet:7.0.8 AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:7.0.9 AS runtime WORKDIR /app ENV PROMITOR_CONFIG_FOLDER="c:/config/" COPY --from=build /app . diff --git a/src/Promitor.Agents.Scraper/Dockerfile.linux b/src/Promitor.Agents.Scraper/Dockerfile.linux index 9e4d34f2c..282029327 100644 --- a/src/Promitor.Agents.Scraper/Dockerfile.linux +++ b/src/Promitor.Agents.Scraper/Dockerfile.linux @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0.305-cbl-mariner2.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0.306-cbl-mariner2.0 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" COPY Promitor.Core/* Promitor.Core/ @@ -17,7 +17,7 @@ COPY Promitor.Integrations.Sinks.Statsd/* Promitor.Integrations.Sinks.Statsd/ COPY Promitor.Agents.Scraper/* Promitor.Agents.Scraper/ RUN dotnet publish Promitor.Agents.Scraper/Promitor.Agents.Scraper.csproj --configuration release --output app /p:Version=$VERSION -FROM mcr.microsoft.com/dotnet/aspnet:7.0.8-cbl-mariner2.0-distroless AS runtime-base +FROM mcr.microsoft.com/dotnet/aspnet:7.0.9-cbl-mariner2.0-distroless AS runtime-base FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 AS installer diff --git a/src/Promitor.Agents.Scraper/Dockerfile.windows b/src/Promitor.Agents.Scraper/Dockerfile.windows index addd8a5c4..a3635d6dc 100644 --- a/src/Promitor.Agents.Scraper/Dockerfile.windows +++ b/src/Promitor.Agents.Scraper/Dockerfile.windows @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0.305 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0.306 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" COPY Promitor.Core/* Promitor.Core/ @@ -17,7 +17,7 @@ COPY Promitor.Integrations.Sinks.Statsd/* Promitor.Integrations.Sinks.Statsd/ COPY Promitor.Agents.Scraper/* Promitor.Agents.Scraper/ RUN dotnet publish Promitor.Agents.Scraper/Promitor.Agents.Scraper.csproj --configuration release --output app /p:Version=%VERSION% -FROM mcr.microsoft.com/dotnet/aspnet:7.0.8 as runtime +FROM mcr.microsoft.com/dotnet/aspnet:7.0.9 as runtime WORKDIR /app ENV PROMITOR_CONFIG_FOLDER="c:/config/"