• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Install dotnet SDK based on https://www.microsoft.com/net/core#debian
2RUN apt-get update && apt-get install -y curl libunwind8 gettext
3# dotnet-dev-1.0.0-preview2-003131
4RUN curl -sSL -o dotnet100.tar.gz https://go.microsoft.com/fwlink/?LinkID=827530
5RUN mkdir -p /opt/dotnet && tar zxf dotnet100.tar.gz -C /opt/dotnet
6# dotnet-dev-1.0.1
7RUN curl -sSL -o dotnet101.tar.gz https://go.microsoft.com/fwlink/?LinkID=843453
8RUN mkdir -p /opt/dotnet && tar zxf dotnet101.tar.gz -C /opt/dotnet
9RUN ln -s /opt/dotnet/dotnet /usr/local/bin
10
11# Trigger the population of the local package cache
12ENV NUGET_XMLDOC_MODE skip
13RUN mkdir warmup ${'\\'}
14    && cd warmup ${'\\'}
15    && dotnet new ${'\\'}
16    && cd .. ${'\\'}
17    && rm -rf warmup
18