From c8680d46e92f0456f0ebe5bf0376adca94fff173 Mon Sep 17 00:00:00 2001 From: Dale Bingham Date: Sun, 17 Mar 2024 09:31:04 -0400 Subject: [PATCH] updating the base level container --- Dockerfile | 2 +- Dockerfile.old | 21 --------------------- Makefile | 2 +- src/nats-client-metrics.csproj | 2 +- 4 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 Dockerfile.old diff --git a/Dockerfile b/Dockerfile index caa5084..4e741af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN dotnet build RUN dotnet publish --runtime alpine-x64 -c Release -o out --self-contained true /p:PublishTrimmed=true # build runtime image with DoD CA Certificates -FROM ghcr.io/soteriasoftwarellc/openrmfpro-base:2.10.0 +FROM ghcr.io/soteriasoftwarellc/openrmfpro-base:2.10.1 RUN apk update && apk upgrade RUN mkdir /app diff --git a/Dockerfile.old b/Dockerfile.old deleted file mode 100644 index 1a341fa..0000000 --- a/Dockerfile.old +++ /dev/null @@ -1,21 +0,0 @@ -FROM microsoft/dotnet:2.2-sdk AS build-env -RUN mkdir /app -WORKDIR /app - -# copy the project and restore as distinct layers in the image -COPY src/*.csproj ./ -RUN dotnet restore - -# copy the rest and build -COPY src/ ./ -RUN dotnet build -RUN dotnet publish -c Release -o out - -# build runtime image -FROM microsoft/dotnet:2.2-aspnetcore-runtime -RUN mkdir /app -WORKDIR /app -# RUN apt-get update && apt-get -y install ca-certificates - -COPY --from=build-env /app/out ./ -ENTRYPOINT ["dotnet", "nats-client-metrics.dll"] \ No newline at end of file diff --git a/Makefile b/Makefile index f0fa8b0..b8bc35b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION ?= 2.0.0 +VERSION ?= 2.0.1 NAME ?= "nats-client-metrics" AUTHOR ?= "Dale Bingham" PORT_EXT ?= 7778 diff --git a/src/nats-client-metrics.csproj b/src/nats-client-metrics.csproj index 164c058..15954c1 100644 --- a/src/nats-client-metrics.csproj +++ b/src/nats-client-metrics.csproj @@ -7,7 +7,7 @@ false true $(NoWarn);1591 - 2.0.0 + 2.0.1 This is a NATS Metrics collector to store metrics for individual client connections. Given to you by Cingulara.