-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Description
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 3.1
I try to use this script to install sdk in a docker image, it seems success

but when I use dotnet --info, it didn`t show sdks..

my docker image, FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: a2e484a9-5e0c-eb3e-1413-7b507c4fa07d
- Version Independent ID: 5bc7caa5-f1c2-d7d5-fe02-80c65cca9672
- Content: dotnet-install scripts - .NET CLI
- Content Source: docs/core/tools/dotnet-install-script.md
- Product: dotnet-fundamentals
- Technology: dotnet-cli
- GitHub Login: @tdykstra
- Microsoft Alias: tdykstra