Skip to content

Instantly share code, notes, and snippets.

@dmunch
Created August 19, 2014 07:38
Show Gist options
  • Save dmunch/2dcae1fac655b9e5a62d to your computer and use it in GitHub Desktop.
Save dmunch/2dcae1fac655b9e5a62d to your computer and use it in GitHub Desktop.
Dockerfile for mono
FROM phusion/baseimage
RUN apt-get update
RUN apt-get install -y mono-devel mono-gmcs
RUN apt-get install -y libtool autoconf g++ gettext make git
RUN git clone https://github.com/mono/mono
RUN cd mono && \
./autogen.sh --prefix /opt/mono && \
make -j 4 && \
make install
RUN apt-get purge -y mono-devel mono-gmcs libtool autoconf g++
RUN apt-get autoremove -y
RUN cd .. && rm -rf mono
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment