Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 1.17 KB
FROM phusion/baseimage:0.9.16
CMD ["/sbin/my_init"]
RUN apt-key adv --keyserver pgp.mit.edu --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.2.1 main" > /etc/apt/sources.list.d/mono-xamarin.list \
&& apt-get update \
&& apt-get install -y mono-devel ca-certificates-mono fsharp mono-vbnc nuget \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get -qq update && apt-get -qqy install unzip
ENV DNX_VERSION 1.0.0-rc1-update1
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=v$DNX_VERSION sh
ENV DNX_RUNTIME_ID ubuntu.14.04-x64
RUN bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh \
&& dnvm install $DNX_VERSION -alias default \
&& dnvm alias default | xargs -i ln -s $DNX_USER_HOME/runtimes/{} $DNX_USER_HOME/runtimes/default"
ENV PATH $PATH:$DNX_USER_HOME/runtimes/default/bin
COPY libuv.so.1 /usr/lib/libuv.so
RUN apt-get -qqy install git-core nodejs npm
RUN npm install -g bower
RUN npm install -g grunt-cli
RUN ln -s /usr/bin/nodejs /usr/local/bin/node
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*