diff --git a/src/Promitor.Agents.Core/Promitor.Agents.Core.csproj b/src/Promitor.Agents.Core/Promitor.Agents.Core.csproj index 0009c0a77..3c055a34a 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 9b6528b96..8b08a0a36 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.401-cbl-mariner2.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0.402-cbl-mariner2.0 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" COPY Promitor.Agents.ResourceDiscovery/* Promitor.Agents.ResourceDiscovery/ @@ -14,7 +14,7 @@ COPY Promitor.Integrations.Sinks.Core/* Promitor.Integrations.Sinks.Core/ 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.11-cbl-mariner2.0-distroless AS runtime-base +FROM mcr.microsoft.com/dotnet/aspnet:7.0.12-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 d3daa985f..4c4f64a8a 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.401 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0.402 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" COPY Promitor.Agents.ResourceDiscovery/* Promitor.Agents.ResourceDiscovery/ @@ -14,7 +14,7 @@ COPY Promitor.Integrations.Sinks.Core/* Promitor.Integrations.Sinks.Core/ 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.11 AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:7.0.12 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 38e66894a..98003e3bc 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.401-cbl-mariner2.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0.402-cbl-mariner2.0 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" COPY Promitor.Core/* Promitor.Core/ @@ -18,7 +18,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.11-cbl-mariner2.0-distroless AS runtime-base +FROM mcr.microsoft.com/dotnet/aspnet:7.0.12-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 9fb889e29..0e84890fb 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.401 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0.402 AS build WORKDIR /src ARG VERSION="UNSET-VERSION" COPY Promitor.Core/* Promitor.Core/ @@ -18,7 +18,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.11 as runtime +FROM mcr.microsoft.com/dotnet/aspnet:7.0.12 as runtime WORKDIR /app ENV PROMITOR_CONFIG_FOLDER="c:/config/"