diff --git a/1.0.0-beta4/Dockerfile b/1.0.0-beta4/Dockerfile index d27ebba2..8cca721c 100644 --- a/1.0.0-beta4/Dockerfile +++ b/1.0.0-beta4/Dockerfile @@ -1,20 +1,10 @@ -FROM mono:4 - -# Get build dependencies, download/build/install mono 4.1.0 -RUN apt-get update -qq \ - && apt-get install -qqy git autoconf libtool automake build-essential mono-devel gettext unzip \ - && git clone https://github.com/mono/mono.git \ - && cd mono \ - && git reset --hard 53dc56ee39a8e3b013231957aca4671b202c6410 \ - && ./autogen.sh --prefix="/usr/local" \ - && make \ - && make install \ - && cd .. \ - && rm -rf mono +FROM mono:4.0.1 ENV DNX_VERSION 1.0.0-beta4 ENV DNX_USER_HOME /opt/dnx +RUN apt-get -qq update && apt-get -qqy install unzip + RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=v$DNX_VERSION sh RUN bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh \ && dnvm install $DNX_VERSION -a default \ diff --git a/vs-1.0.0-beta4/Dockerfile b/vs-1.0.0-beta4/Dockerfile deleted file mode 100644 index f7eb9b5d..00000000 --- a/vs-1.0.0-beta4/Dockerfile +++ /dev/null @@ -1,36 +0,0 @@ -FROM mono:3.12 - -# Get build dependencies, download/build/install mono 4.1.0 -RUN apt-get update -qq \ - && apt-get install -qqy git autoconf libtool automake build-essential mono-devel gettext unzip \ - && git clone https://github.com/mono/mono.git \ - && cd mono \ - && git reset --hard 53dc56ee39a8e3b013231957aca4671b202c6410 \ - && ./autogen.sh --prefix="/usr/local" \ - && make \ - && make install \ - && cd .. \ - && rm mono -r - -# Install aspnet 1.0.0-beta4 -ENV DNX_FEED https://www.myget.org/F/aspnetmaster/api/v2 -ENV DNX_USER_HOME /opt/dnx - -RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/7d6f78ed7a59594ce7cdb54a026f09cb0cbecb2a/dnvminstall.sh | DNX_BRANCH=master sh -RUN bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh \ - && dnvm install 1.0.0-beta4 -a default \ - && dnvm alias default | xargs -i ln -s $DNX_USER_HOME/runtimes/{} $DNX_USER_HOME/runtimes/default" - -# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old) -RUN LIBUV_VERSION=1.4.2 \ - && curl -sSL https://github.com/libuv/libuv/archive/v${LIBUV_VERSION}.tar.gz | tar zxfv - -C /usr/local/src \ - && cd /usr/local/src/libuv-$LIBUV_VERSION \ - && sh autogen.sh && ./configure && make && make install \ - && rm -rf /usr/local/src/libuv-$LIBUV_VERSION \ - && ldconfig - -# Update NuGet feeds -RUN mkdir -p $HOME/.config/NuGet/ -COPY NuGet.Config $HOME/.config/NuGet/ - -ENV PATH $PATH:$DNX_USER_HOME/runtimes/default/bin diff --git a/vs-1.0.0-beta4/NuGet.Config b/vs-1.0.0-beta4/NuGet.Config deleted file mode 100644 index 2b6a1d81..00000000 --- a/vs-1.0.0-beta4/NuGet.Config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - -