Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.

Commit a6e36e8

Browse files
committed
Merge pull request #20 from vlesierse/nightly
Added Dockerfile to download the nightly build of ASP.NET 5
2 parents 11742fc + 1809f38 commit a6e36e8

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This repository contains `Dockerfile` definitions for [ASP.NET 5][home] Docker i
77

88
* [`latest` _(Dockerfile)_](1.0.0-beta1/Dockerfile)
99
* [`1.0.0-beta1` _(Dockerfile)_](1.0.0-beta1/Dockerfile)
10+
* [`nightly` _(Dockerfile)_](nightly/Dockerfile)
1011

1112
This project is part of ASP.NET 5. You can find samples, documentation, and getting started instructions for ASP.NET 5 at the [Home][home] repo.
1213

nightly/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM mono:3.10
2+
3+
ENV KRE_FEED https://www.myget.org/F/aspnetvnext/api/v2
4+
ENV KRE_USER_HOME /opt/kre
5+
6+
RUN apt-get -qq update && apt-get -qqy install unzip
7+
8+
ONBUILD RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/kvminstall.sh | sh
9+
ONBUILD RUN bash -c "source $KRE_USER_HOME/kvm/kvm.sh \
10+
&& kvm install latest -a default \
11+
&& kvm alias default | xargs -i ln -s $KRE_USER_HOME/packages/{} $KRE_USER_HOME/packages/default"
12+
13+
# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old)
14+
RUN apt-get -qqy install \
15+
autoconf \
16+
automake \
17+
build-essential \
18+
libtool
19+
RUN LIBUV_VERSION=1.0.0-rc2 \
20+
&& curl -sSL https://github.com/joyent/libuv/archive/v${LIBUV_VERSION}.tar.gz | tar zxfv - -C /usr/local/src \
21+
&& cd /usr/local/src/libuv-$LIBUV_VERSION \
22+
&& sh autogen.sh && ./configure && make && make install \
23+
&& rm -rf /usr/local/src/libuv-$LIBUV_VERSION \
24+
&& ldconfig
25+
26+
ENV PATH $PATH:$KRE_USER_HOME/packages/default/bin

0 commit comments

Comments
 (0)