Skip to content

Commit 1f8c403

Browse files
fix: use noble-chiseled-extra to include ICU for SqlClient globalization
noble-chiseled strips ICU libraries. Microsoft.Data.SqlClient requires ICU for globalization support and throws System.NotSupportedException: Globalization Invariant Mode is not supported without it. Switch to noble-chiseled-extra which includes ICU and tzdata while retaining the security benefits of the chiseled image (minimal attack surface, non-root user, read-only-friendly).
1 parent 345ca46 commit 1f8c403

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

EssentialCSharp.Web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1.4
22

3-
FROM mcr.microsoft.com/dotnet/aspnet:10.0-noble-chiseled AS base
3+
FROM mcr.microsoft.com/dotnet/aspnet:10.0-noble-chiseled-extra AS base
44
WORKDIR /app
55
EXPOSE 8080
66
EXPOSE 8081

0 commit comments

Comments
 (0)