-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Breaking Change: Removal of procps package
In the .NET 6 sdk image type, the procps package is no longer included for Debian and Ubuntu. This may break any custom logic you've added which depends on the utilities provided by this package. This package was previously included for .NET 5 container images in order to support dotnet watch functionality. In .NET 6, dotnet watch was updated to longer have a dependency on the procps package.
Details
During the .NET 5 release cycle, it was discovered that the Debian and Ubuntu sdk container images lacked the pgrep utility required by dotnet watch functionality. This utility is provided by the procps package and that package was added to those images at that time to address the issue. In addition, the dotnet watch code for .NET 6 was updated to remove this dependency on the pgrep utility. For that reason, the procps package is no longer being included in sdk images.
This removal may impact any custom logic you have that runs in an sdk container and depends on the utilities provided by the procps package. This package includes the following utilities:
- free
- kill
- pgrep
- pkill
- pmap
- ps
- pwdx
- skill
- slabtop
- snice
- sysctl
- tload
- top
- uptime
- vmstat
- w
- watch
If you're dependent on one of these utilities, you can install the procps package by including the following instruction in your Dockerfile:
RUN apt-get update \
&& apt-get install -y \
procps \
&& rm -rf /var/lib/apt/lists/*Related Issue
Metadata
Metadata
Assignees
Labels
Type
Projects
Status