From 9dc78b9b10b7fbf08ab76677ea74040962503613 Mon Sep 17 00:00:00 2001 From: Eduardo Souza Date: Tue, 10 Feb 2026 13:21:22 -0300 Subject: [PATCH] Fix Health Check Install curl in the Docker image for health checks. --- src/Viamus.Azure.Devops.Mcp.Server/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Viamus.Azure.Devops.Mcp.Server/Dockerfile b/src/Viamus.Azure.Devops.Mcp.Server/Dockerfile index ec02072..f535c4b 100644 --- a/src/Viamus.Azure.Devops.Mcp.Server/Dockerfile +++ b/src/Viamus.Azure.Devops.Mcp.Server/Dockerfile @@ -23,6 +23,11 @@ RUN dotnet publish "./Viamus.Azure.Devops.Mcp.Server.csproj" -c $BUILD_CONFIGURA # Final stage FROM base AS final +#Install curl for health checks +USER root +RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* +USER $APP_UID + WORKDIR /app COPY --from=publish /app/publish .