Skip to content

[dotnet-suggest] Support for Docker runtime-deps:alpine #1863

Open
@iBicha

Description

@iBicha

Trying to ship a CLI (self-contained .net app) using Docker image mcr.microsoft.com/dotnet/runtime-deps:6.0.9-alpine3.16-amd64.
The choice of this image is to be as lightweight as possible.

The first problem is that dotnet command is not available to install using
RUN dotnet tool install -g dotnet-suggest.

When using a separate image (like mcr.microsoft.com/dotnet/sdk:6.0.401-alpine3.16-amd64) there's a couple of issues with that:

Overall, we need a simple way to ship a self-contained .net app, with dotnet-suggest pre-configured on Docker, to reduce the burden to set it up for users.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions