Files
jupyterhub/examples/postgres/hub/Dockerfile
Min RK 9cdda101c7 Move onbuild step to jupyterhub-onbuild
Removes onbuild from from jupyter/jupyterhub image,
though it remains incomplete and will not run without a config file.
2016-04-19 13:21:24 +02:00

16 lines
384 B
Docker

FROM jupyter/jupyterhub-onbuild
MAINTAINER Jupyter Project <jupyter@googlegroups.com>
RUN apt-get install -y libpq-dev \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& pip3 install psycopg2
RUN useradd -m -G shadow -p $(openssl passwd -1 rhea) rhea
RUN chown rhea .
RUN for name in io ganymede ; do useradd -m -p $(openssl passwd -1 $name) $name; done
USER rhea