Created
February 2, 2018 10:16
-
-
Save rfum/1c617f9400f01b8a0e878d07ba6aa0be to your computer and use it in GitHub Desktop.
.net core 2.0 basic installation ubuntu 16.04
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 ubuntu | |
MAINTAINER R.Furkan MATARACI <[email protected]> | |
RUN apt-get update | |
RUN apt-get install curl -y | |
RUN curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
RUN mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg | |
RUN bash -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful main" > /etc/apt/sources.list.d/dotnetdev.list' | |
RUN bash -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list' | |
RUN apt-get install apt-transport-https -y | |
RUN apt-get update -y | |
RUN apt-get install dotnet-sdk-2.1.4 -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment