Created
May 10, 2017 12:58
-
-
Save ninjarobot/710fa5ef60789f692f01cce50605de50 to your computer and use it in GitHub Desktop.
Dockerfile for latest dotnetcore 2.0 runtime - based on Alpine
This file contains 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
FROM frolvlad/alpine-glibc | |
RUN apk add --no-cache curl libstdc++ --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \ | |
&& curl -O https://dotnetcli.blob.core.windows.net/dotnet/master/Binaries/Latest/dotnet-linux-x64.latest.tar.gz \ | |
&& mkdir -p /usr/share/dotnet \ | |
&& tar -xzvf dotnet-linux-x64.latest.tar.gz -C /usr/share/dotnet \ | |
&& rm dotnet-linux-x64.latest.tar.gz \ | |
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment