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

Commit

Permalink
Add build of libuv for supporting Kestrel Web Server
Browse files Browse the repository at this point in the history
  • Loading branch information
muojp committed Nov 14, 2014
1 parent f5f202e commit e03ea49
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion 1.0.0-beta1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,13 @@ RUN bash -c "source /root/.kre/kvm/kvm.sh \
&& kvm install $KRE_VERSION -a default \
&& kvm alias default | xargs -i ln -s /root/.kre/packages/{} /root/.kre/packages/default"

ENV PATH $PATH:/root/.kre/packages/default/bin
# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old)
RUN apt-get -qqy install autoconf automake build-essential libtool
RUN LIBUV_VERSION=1.0.0-rc2 \
&& curl -sSL https://github.com/joyent/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

ENV PATH $PATH:/root/.kre/packages/default/bin

0 comments on commit e03ea49

Please sign in to comment.