Skip to content

Instantly share code, notes, and snippets.

@rnewson
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rnewson/aa93dd0a9ddffa26f4d0 to your computer and use it in GitHub Desktop.
Save rnewson/aa93dd0a9ddffa26f4d0 to your computer and use it in GitHub Desktop.
ubuntu 14.04 build steps
FROM ubuntu:14.04
RUN apt-get -qq update && apt-get -y install \
build-essential \
erlang-base-hipe \
erlang-dev \
erlang-manpages \
erlang-eunit \
erlang-nox \
libicu-dev \
libmozjs185-dev \
libcurl4-openssl-dev \
pkg-config \
git \
curl
RUN curl -L https://github.com/rebar/rebar/wiki/rebar > /usr/local/bin/rebar
RUN chmod +x /usr/local/bin/rebar
RUN git clone https://git-wip-us.apache.org/repos/asf/couchdb.git
WORKDIR couchdb
RUN ./configure
RUN sed -i'' '/require_otp_vsn/d' rebar.config.script
RUN make couch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment