jupyterlab-datascience/Dockerfile

20 lines
1.2 KiB
Docker

ARG LAB_IMAGE=quay.io/jupyter/scipy-notebook:lab-4.0.12
ARG NB_USER="jovyan"
ARG NB_UID="1000"
ARG NB_GID="100"
FROM ${LAB_IMAGE}
# kaniko issue https://github.com/GoogleContainerTools/kaniko/issues/1087
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root
RUN apt-get update --yes && \
apt-get install --yes --no-install-recommends \
git-lfs
USER ${NB_UID}
RUN echo "install custom extensions "
RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-sandbox-theme==0.1.5
RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-sandbox-announcement==0.1.4
#RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-data-pool
#RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-training
#RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-synthetic-data
RUN pip install ipywebrtc==0.6.0 opencv-python-headless==4.9.0.80 voila==0.5.5
RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements"