Skip to content

[Breaking change]: libintl package removed from Alpine container images #35956

@mthalman

Description

@mthalman

Description

The libintl package is no longer being included in .NET's Alpine container images. Read more on this change in the original issue.

Version

.NET 8 Preview 5

Previous behavior

Prior to .NET 8, the libintl package was included in its Alpine container images.

New behavior

.NET no longer includes the libintl package in its Alpine container images.

If your application has its own dependency on libintl, you may see the following error when running with .NET 8 in an Alpine container:

Error loading shared library libintl.so.8: No such file or directory

Type of breaking change

  • Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.
  • Source incompatible: When recompiled using the new SDK or component or to target the new runtime, existing source code may require source changes to compile successfully.
  • Behavioral change: Existing binaries may behave differently at run time.

Reason for change

It was determined that .NET has no dependency on the libintl package. Only packages which .NET requires are included on top of the base Alpine container image.

Recommended action

Verify the functionality of your application when upgrading to .NET 8. If your application has its own dependency on the libintl package, you can include it in the image with the following instruction added to your Dockerfile:

RUN apk add --no-cache libintl

Feature area

Deployment

Affected APIs

No response


Associated WorkItem - 118220

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.breaking-changeIndicates a .NET Core breaking change

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions