-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
anyone should be able to build binaries
- Loading branch information
1 parent
32e0226
commit c179961
Showing
3 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# To build libuv and extract the files from the Docker container: | ||
# export CF_STACK=cflinuxfs2 | ||
# export LIBUV_VERSION=1.4.2 | ||
# cat Dockerfile.libuv | envsubst | docker build -t libuv-${CF_STACK}-${LIBUV_VERSION} - | ||
# docker run -v /somehostdir:/built --rm libuv-${CF_STACK}-${LIBUV_VERSION} /bin/bash -c "cd /usr/local && tar czf /built/libuv-${CF_STACK}-${LIBUV_VERSION}.tar.gz ./include/uv* ./lib/libuv*" | ||
|
||
FROM cloudfoundry/$CF_STACK | ||
|
||
RUN apt-get -qq update && apt-get -qqy install curl \ | ||
autoconf \ | ||
automake \ | ||
build-essential \ | ||
libtool | ||
|
||
RUN 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# To build libuv and extract the files from the Docker container: | ||
# export CF_STACK=cflinuxfs2 | ||
# export MONO_RELEASE=4.0.1.44 | ||
# cat Dockerfile.mono | envsubst | docker build -t libuv-${CF_STACK}-${LIBUV_VERSION} - | ||
# docker run -v /somehostdir:/built --rm mono-${CF_STACK}-${MONO_RELEASE} tar czf /built/mono-${CF_STACK}-${MONO_RELEASE}.tar.gz -C /app ./mono | ||
|
||
FROM cloudfoundry/$CF_STACK | ||
|
||
RUN apt-get -qq update && apt-get -y install curl | ||
RUN apt-get -qq update && apt-get -y --force-yes install unzip git-core automake libtool autoconf \ | ||
autotools-dev gettext mono-devel | ||
|
||
RUN git clone https://github.com/mono/mono | ||
|
||
WORKDIR /mono | ||
RUN git checkout tags/mono-$MONO_RELEASE | ||
RUN mkdir -p /app/mono; ./autogen.sh -prefix=/app/mono | ||
RUN make get-monolite-latest | ||
RUN make | ||
RUN make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters