Skip to content

Breaking Change: Removal of procps package #3275

@mthalman

Description

@mthalman

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

#2396

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions