You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Install dotnet SDK based on https://www.microsoft.com/net/core#debian
|
|
|
|
RUN apt-get update && apt-get install -y curl libunwind8 gettext
|
|
|
|
# dotnet-dev-1.0.0-preview2-003131
|
|
|
|
RUN curl -sSL -o dotnet100.tar.gz https://go.microsoft.com/fwlink/?LinkID=827530
|
|
|
|
RUN mkdir -p /opt/dotnet && tar zxf dotnet100.tar.gz -C /opt/dotnet
|
|
|
|
# dotnet-dev-1.0.1
|
|
|
|
RUN curl -sSL -o dotnet101.tar.gz https://go.microsoft.com/fwlink/?LinkID=843453
|
|
|
|
RUN mkdir -p /opt/dotnet && tar zxf dotnet101.tar.gz -C /opt/dotnet
|
|
|
|
RUN ln -s /opt/dotnet/dotnet /usr/local/bin
|
|
|
|
|
|
|
|
# Trigger the population of the local package cache
|
|
|
|
ENV NUGET_XMLDOC_MODE skip
|
|
|
|
RUN mkdir warmup ${'\\'}
|
|
|
|
&& cd warmup ${'\\'}
|
|
|
|
&& dotnet new ${'\\'}
|
|
|
|
&& cd .. ${'\\'}
|
|
|
|
&& rm -rf warmup
|