mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 18:14:10 +00:00
16 lines
373 B
Docker
16 lines
373 B
Docker
FROM jupyter/jupyterhub
|
|
|
|
MAINTAINER Jupyter Project <ipython-dev@scipy.org>
|
|
|
|
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
|