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

Commit 48df62a

Browse files
committed
added beta 7 coreclr dockerfile
1 parent 45f3251 commit 48df62a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

1.0.0-beta7-coreclr/Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
FROM debian:wheezy
2+
3+
ENV DNX_VERSION 1.0.0-beta7
4+
ENV DNX_USER_HOME /opt/dnx
5+
6+
RUN apt-get -qq update && apt-get -qqy install unzip curl
7+
8+
RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=v$DNX_VERSION sh
9+
RUN bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh \
10+
&& dnvm upgrade -r coreclr"
11+
12+
# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old)
13+
RUN apt-get -qqy install \
14+
autoconf \
15+
automake \
16+
build-essential \
17+
libtool
18+
RUN LIBUV_VERSION=1.4.2 \
19+
&& curl -sSL https://github.com/libuv/libuv/archive/v${LIBUV_VERSION}.tar.gz | tar zxfv - -C /usr/local/src \
20+
&& cd /usr/local/src/libuv-$LIBUV_VERSION \
21+
&& sh autogen.sh && ./configure && make && make install \
22+
&& rm -rf /usr/local/src/libuv-$LIBUV_VERSION \
23+
&& ldconfig
24+
25+
ENV PATH $PATH:$DNX_USER_HOME/runtimes/default/bin

0 commit comments

Comments
 (0)