Created
July 26, 2017 06:45
-
-
Save analytik/7b6096c4264645e416dde2a6b414d83c to your computer and use it in GitHub Desktop.
Basic RethinkDB - official-build based docker image
This file contains hidden or 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
| FROM debian:jessie | |
| ENV LC_ALL C.UTF-8 | |
| RUN apt-get update && apt-get install -y vim nano curl netcat less tcpdump | |
| # Add the RethinkDB repository and public key | |
| ENV RETHINKDB_PACKAGE_VERSION 2.3.6~0jessie | |
| RUN curl -s https://download.rethinkdb.com/apt/pubkey.gpg | apt-key add -v - \ | |
| && echo "deb http://download.rethinkdb.com/apt jessie main" > /etc/apt/sources.list.d/rethinkdb.list \ | |
| && apt-get update \ | |
| && apt-get install -y --force-yes --no-install-recommends \ | |
| libprotobuf9 \ | |
| rethinkdb=$RETHINKDB_PACKAGE_VERSION \ | |
| python3-pip \ | |
| && pip3 install rethinkdb b2 tqdm \ | |
| && apt-get clean \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # For building a beta/nightly/rc | |
| # && curl -sL https://thanos.atnnn.com/downloads/rc/2.3.6/1/rethinkdb_2.3.6%2B0RC1%2B5%2Bg4f0bd9~0jessie_amd64.deb -o /tmp/rethinkdb.deb | |
| # RUN apt-get install -y --force-yes --no-install-recommends libprotobuf9 \ | |
| # && dpkg -i /tmp/rethinkdb.deb \ | |
| # && rm /tmp/rethinkdb.deb \ | |
| VOLUME ["/data"] | |
| WORKDIR /data | |
| CMD ["rethinkdb", "--bind", "all"] | |
| # process cluster webui | |
| EXPOSE 28015 29015 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment