Skip to content

aspnet:8.0 image missing iputils-ping package #7043

@MarcMenghin

Description

@MarcMenghin

Describe the bug

I have a Service running in a container of mcr.microsoft.com/dotnet/aspnet:8.0. This Sevice does a Ping using System.Net.NetworkInformation.Ping which is not possible because of this missing package.

I would expect that all provided core functionality from .NET works in these containers. Especially if it is the System.Net Namespace. So, I guess this is a bug.

My current workaround is the following in my Docker files:

FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
RUN ["apt-get", "update"]
RUN ["apt-get", "install", "-y", "iputils-ping"]

But this increases the docker image build time and size considerably (15MB+) for such a small utility package.

Which .NET image(s) are you using?

mcr.microsoft.com/dotnet/aspnet:8.0

Steps to reproduce

No response

Other information

No response

Output of docker version

Output of docker info

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions