add dotnet core Runtime and SDK packages
.NET team has provided the docker image for Alpine Linux and suggested us to have community driven package: https://github.com/dotnet/dotnet-docker/issues/22\#issuecomment-346215352. .NET Core 2.1 is the upcoming version, currently in preview:
docker run -it microsoft/dotnet:2.1-sdk-alpine
this container has runtime dependencies, runtime and SDK. To test:
<code class="text">
dotnet new console -n mytest
cd mytest
dotnet run
</code>
Runtime Dependencies:
https://github.com/dotnet/dotnet-docker/blob/ccccaf7/2.1/runtime-deps/alpine/amd64/Dockerfile
Runtime:
https://github.com/dotnet/dotnet-docker/blob/ccccaf7/2.1/runtime/alpine/amd64/Dockerfile
SDK:
https://github.com/dotnet/dotnet-docker/blob/ccccaf7/2.1/sdk/alpine/amd64/Dockerfile
If anyone has knowledge how to build Alpine packages out of Docker, please create separate packages for runtime and SDK (as we can switch runtime / SDK in existing installation).
Packages from other official distros (.NET Core 2.0 released version): https://packages.microsoft.com/
(from redmine: issue id 8603, created on 2018-03-04)