Sign inSign up

jjzavalaz/rethinkdb

By jjzavalaz

•Updated about 9 years ago

Imagen ubuntu:trusty + rethinkdb 2.3.6 + python 3 + pip3

Image
0

10K+

jjzavalaz/rethinkdb repository overview

Julio 17, 2017

⁠Imagen base para contenedor de rethinkdb.


Versión: Última estable (2.3.6)  

⁠Dockerfile:


FROM ubuntu:trusty
LABEL maintainer="[email protected]"

# Add the RethinkDB repository and public key
# "RethinkDB Packaging <[email protected]>" http://download.rethinkdb.com/apt/pubkey.gpg
RUN apt-key adv --keyserver keys.gnupg.net --recv-keys 3B87619DF812A63A8C1005C30742918E5C8DA04A
RUN echo "deb http://download.rethinkdb.com/apt trusty main" > /etc/apt/sources.list.d/rethinkdb.list

ENV RETHINKDB_PACKAGE_VERSION 2.3.6~0trusty

RUN apt-get update \
	&& apt-get install -y --force-yes rethinkdb=$RETHINKDB_PACKAGE_VERSION \
	&& apt-get  install -y --force-yes python3 \
	&& apt-get install -y --force-yes python3-pip \
	&& apt-get update \
	&& rm -rf /var/lib/apt/lists/*

# Python driver for rethinkdb
RUN pip3 install rethinkdb

VOLUME ["/data"]
WORKDIR /data
CMD ["rethinkdb", "--bind", "all"]
EXPOSE 28015 29015 8080

 

⁠Descargar imagen:


$ docker pull devnichossociales/rethinkdb

 

⁠Crear y correr contenedor:


$ docker run -d [--name nombre_contenedor] -p 8080:8080 -p 28015:28015 -p 29015:29015 devnichossociales/rethinkdb

 

⁠Referencias:


Tag summary

Content type

Image

Digest

Size

83.1 MB

Last updated

about 9 years ago

docker pull jjzavalaz/rethinkdb