Add rethinkdb dockerfile

This commit is contained in:
Christine Dodrill 2015-05-01 17:39:53 -07:00
parent 41d721470a
commit 764fb6543f
1 changed files with 14 additions and 0 deletions

14
net/rethinkdb/Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM flitter/init
RUN bash -c 'source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | tee /etc/apt/sources.list.d/rethinkdb.list' &&\
wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | apt-key add - &&\
sudo apt-get update &&\
sudo apt-get install rethinkdb -y --force-yes
RUN mkdir /db
WORKDIR /db
EXPOSE 29015
EXPOSE 28015
EXPOSE 8080
CMD rethinkdb --bind all