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

Commit fe5ee46

Browse files
committed
Added 1.0.0-beta4 image with mono 4.1.0
1 parent c023881 commit fe5ee46

File tree

3 files changed

+42
-5
lines changed

3 files changed

+42
-5
lines changed

1.0.0-beta4/Dockerfile

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
FROM mono:4
2+
3+
# Get build dependencies, download/build/install mono 4.1.0
4+
RUN apt-get update -qq \
5+
&& apt-get install -qqy git autoconf libtool automake build-essential mono-devel gettext unzip \
6+
&& git clone https://github.com/mono/mono.git \
7+
&& cd mono \
8+
&& git reset --hard 53dc56ee39a8e3b013231957aca4671b202c6410 \
9+
&& ./autogen.sh --prefix="/usr/local" \
10+
&& make \
11+
&& make install \
12+
&& cd .. \
13+
&& rm -rf mono
14+
15+
ENV DNX_VERSION 1.0.0-beta4
16+
ENV DNX_USER_HOME /opt/dnx
17+
18+
RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=v$DNX_VERSION sh
19+
RUN bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh \
20+
&& dnvm install $DNX_VERSION -a default \
21+
&& dnvm alias default | xargs -i ln -s $DNX_USER_HOME/runtimes/{} $DNX_USER_HOME/runtimes/default"
22+
23+
# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old)
24+
RUN apt-get -qqy install \
25+
autoconf \
26+
automake \
27+
build-essential \
28+
libtool
29+
RUN LIBUV_VERSION=1.4.2 \
30+
&& curl -sSL https://github.com/libuv/libuv/archive/v${LIBUV_VERSION}.tar.gz | tar zxfv - -C /usr/local/src \
31+
&& cd /usr/local/src/libuv-$LIBUV_VERSION \
32+
&& sh autogen.sh && ./configure && make && make install \
33+
&& rm -rf /usr/local/src/libuv-$LIBUV_VERSION \
34+
&& ldconfig
35+
36+
ENV PATH $PATH:$DNX_USER_HOME/runtimes/default/bin

1.0.0-beta3/README.md renamed to 1.0.0-beta4/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ This project is part of ASP.NET 5. You can find samples, documentation, and gett
99

1010
## Supported tags
1111

12-
* [`1.0.0-beta3`, `latest` _(1.0.0-beta3/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta3/Dockerfile)
12+
* [`1.0.0-beta4`, `latest` _(1.0.0-beta4/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta4/Dockerfile)
13+
* [`1.0.0-beta3`, _(1.0.0-beta3/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta3/Dockerfile)
1314
* [`1.0.0-beta2`, _(1.0.0-beta2/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta2/Dockerfile)
1415
* [`1.0.0-beta1` _(1.0.0-beta1/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta1/Dockerfile)
1516
* [`coreclr-1.0.0-beta5-11624` _(coreclr-1.0.0-beta5-11624/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/coreclr-1.0.0-beta5-11624/Dockerfile)
@@ -20,10 +21,10 @@ Please [read this article][webdev-article] on .NET Web Development and Tools Blo
2021

2122
This image provides the following environment variables:
2223

23-
* `KVM_USER_HOME`: path to KRE installation (e.g. /opt/kre)
24-
* `KRE_VERSION`: version of KRE (K Runtime) installed
24+
* `DNX_USER_HOME`: path to DNX installation (e.g. /opt/dnx)
25+
* `DNX_VERSION`: version of DNX (.NET Execution Environment) installed
2526

26-
In addition to these, `PATH` is set to include the `k`/`kpm` executables.
27+
In addition to these, `PATH` is set to include the `dnx`/`dnu` executables.
2728

2829
## Build Status
2930

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0-beta3/README.md
1+
1.0.0-beta4/README.md

0 commit comments

Comments
 (0)