When creating an Alpine based image, as described by you here:
Most of the products work, but Cells give this error:
System.Globalization.CultureNotFoundException: Culture is not supported. (Parameter ‘culture’)\n1044 (0x0414) is an invalid culture identifier.
Please note that Alpine does not install any cultures by default.
In my Dockerfile I set this:
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true
This is as suggested by microsoft.
If I try to install icu_libs and set ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false (could have been an acceptable workaround, but prefer not doing this) it still does not work, and now gives a new error message:
Aspose.Cells.CellsException: The type initializer for ' ’ threw an exception.\n at Aspose.Cells.Workbook.Save(String fileName, SaveOptions saveOptions)\n