Skip to content

Instantly share code, notes, and snippets.

@natemcmaster
Last active November 11, 2015 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natemcmaster/af9015ed487f45075908 to your computer and use it in GitHub Desktop.
Save natemcmaster/af9015ed487f45075908 to your computer and use it in GitHub Desktop.
ASP.NET Development Image
FROM ubuntu:trusty
RUN apt-key adv --keyserver pgp.mit.edu --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN echo 'deb http://download.mono-project.com/repo/debian wheezy main' >> /etc/apt/sources.list.d/mono-xamarin.list \
&& echo 'deb http://download.mono-project.com/repo/debian alpha main' >> /etc/apt/sources.list.d/mono-xamarin.list \
&& apt-get update -qq \
&& apt-get install -y mono-devel mono-vbnc ca-certificates-mono nuget referenceassemblies-pcl \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get -qq update \
&& apt-get install -y unzip curl libunwind8 gettext libssl-dev libcurl3-dev zlib1g libicu-dev \
&& rm -rf /var/lib/apt/lists/*
ENV DNX_USER_HOME /opt/dnx
RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=dev sh
ENV MONO_THREADS_PER_CPU 200
ENV MONO_MANAGED_WATCHER disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment