Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mschoch/9844532 to your computer and use it in GitHub Desktop.
Save mschoch/9844532 to your computer and use it in GitHub Desktop.
Build your own database named after relaxing furniture
FROM dustin/tiny
MAINTAINER Marty Schoch "[email protected]"
RUN apt-get update
# deps
RUN apt-get install -y build-essential git-core python cmake libcurl4-openssl-dev libevent-dev libicu-dev libv8-dev erlang-nox erlang-dev erlang-src
ADD https://snappy.googlecode.com/files/snappy-1.1.1.tar.gz /tmp/snappy-1.1.1.tar.gz
RUN cd /tmp && tar zxvf snappy-1.1.1.tar.gz
RUN cd /tmp/snappy-1.1.1 && ./configure && make && make install
# install repo
ADD http://commondatastorage.googleapis.com/git-repo-downloads/repo /usr/local/bin/repo
RUN chmod +x /usr/local/bin/repo
# configure git
RUN git config --global user.email "[email protected]"
RUN git config --global user.name "Your Name"
RUN mkdir /build
RUN cd /build && repo init -u git://github.com/couchbase/manifest.git -m branch-master.xml < /dev/null
RUN cd /build && repo sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment