Skip to content

Instantly share code, notes, and snippets.

@dustinmoris
Last active September 1, 2016 11:26
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 dustinmoris/d8302977e8d525b0010618bde226bbeb to your computer and use it in GitHub Desktop.
Save dustinmoris/d8302977e8d525b0010618bde226bbeb to your computer and use it in GitHub Desktop.
Dockerfile to create an Ubuntu 14.04 image with latest Mono and FSharp support
FROM ubuntu:14.04
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list
RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list
RUN apt-get update -y
RUN apt-get install mono-complete -y
RUN apt-get install ca-certificates-mono -y
RUN apt-get install referenceassemblies-pcl -y
RUN apt-get install mono-xsp4 -y
RUN apt-get install fsharp -y
ENV MONO_THREADS_PER_CPU 500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment