title | description | ms.date |
---|---|---|
Kerberos package removed from Alpine and Debian images |
Learn about the breaking change in containers where the 'krb5-libs' package was removed from .NET container images. |
08/01/2023 |
Kerberos is no longer installed in .NET Alpine and Debian container images. Kerberos provides secure networking using the Kerberos protocol.
Kerberos is installed by default in Ubuntu, so .NET Ubuntu images aren't affected by this change. However, Kerberos is not present in .NET Chiseled images.
Kerberos packages:
- Alpine:
krb5-libs
- Debian:
libkrb5-3
- Ubuntu:
libkrb5-3
Prior to .NET 8, the Kerberos package was explicitly installed in all .NET container images.
.NET no longer installs the Kerberos package in its container images.
.NET 8 Preview 7
This change can affect binary compatibility.
The packages were removed to reduce the image size. The Kerberos secure networking scenario was considered not popular enough to warrant installing this package by default. The removal of this package reduces .NET 8 images by ~2.7 MB.
If you require the affected package for your scenario, install it manually using the following Dockerfile instruction.
For Alpine:
RUN apk add --upgrade krb5-libs
For Debian:
RUN apt update && apt -y upgrade libkrb5-3
For Ubuntu Chiseled, follow pattern to install additional slices.
- xref:System.DirectoryServices.Protocols?displayProperty=fullName