Skip to content

Support Globalization Invariant Mode on alpine images #1249

@ilya-git

Description

@ilya-git

Is your feature request related to a problem? Please describe.

Right now Globalization Invariant Mode is not supported by this new SQL client library on alpine images. I have used the latest System.Data.SqlClient before I switched to Microsoft.Data.SqlClient and there was no problems at all. It seems strange to me that the new library is not supporting what the older one never had troubles with.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

I am now using this code in the docker file that is a workaround, but I would rather remove it so that both built time and the sime of the image is smaller.

RUN apk add icu-libs
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false

Additional context

It would be very nice for developers to not use time to figure out why things suddenly stopped working after updating from the old to the new library.

Here is the reference to the issue where the correct exception message has been introduced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions