Add rethinkdb dockerfile
This commit is contained in:
parent
41d721470a
commit
764fb6543f
|
@ -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
|
Loading…
Reference in New Issue