Created
February 4, 2021 17:04
-
-
Save aniongithub/2fd8ac09aba45eb16696fc5cbc201909 to your computer and use it in GitHub Desktop.
Install .NET Core inside a Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install .NET Core and ensure system can find it | |
# Bug: https://github.com/dotnet/sdk/issues/9911 | |
RUN wget -P /tmp https://dot.net/v1/dotnet-install.sh &&\ | |
chmod +x /tmp/dotnet-install.sh &&\ | |
/tmp/dotnet-install.sh &&\ | |
ln -sfn ~/.dotnet/dotnet /usr/local/bin/dotnet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment