fix(docker): add krb5 package for Npgsql GSSAPI support

Prevents 'Cannot load library libgssapi_krb5.so.2' error on startup.
Npgsql attempts to load GSSAPI for PostgreSQL authentication; krb5
provides the required shared library on Alpine.
This commit is contained in:
Arnaud Dartois committed 2026-07-20 14:03:59 +00:00
1 parent e74995f088
commit aa996d764c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ RUN dotnet publish src/Heimdall.Agent/Heimdall.Agent.csproj -c Release -o /app
FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS runtime
WORKDIR /app
RUN apk add --no-cache icu-libs libstdc++ ffmpeg
RUN apk add --no-cache icu-libs libstdc++ ffmpeg krb5
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
ENV ASPNETCORE_URLS=http://+:8080