Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking Change: Removal of procps package #3275

Closed
mthalman opened this issue Nov 8, 2021 · 0 comments
Closed

Breaking Change: Removal of procps package #3275

mthalman opened this issue Nov 8, 2021 · 0 comments

Comments

@mthalman
Copy link
Member

mthalman commented Nov 8, 2021

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

@mthalman mthalman moved this to Backlog in .NET Docker Dec 1, 2021
@mthalman mthalman closed this as completed Dec 8, 2021
Repository owner moved this from Backlog to Done in .NET Docker Dec 8, 2021
@dotnet dotnet locked and limited conversation to collaborators Apr 13, 2022
@mthalman mthalman converted this issue into discussion #3698 Apr 13, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
Status: Done
Development

No branches or pull requests

1 participant