jupyterlab-datascience/Dockerfile

29 lines
1.3 KiB
Docker
Raw Permalink Normal View History

2024-02-13 07:33:02 +00:00
ARG LAB_IMAGE=quay.io/jupyter/scipy-notebook:lab-4.0.12
2024-02-12 21:26:29 +00:00
ARG NB_USER="jovyan"
ARG NB_UID="1000"
ARG NB_GID="100"
2023-01-23 12:47:54 +00:00
FROM ${LAB_IMAGE}
2024-02-12 14:53:27 +00:00
# kaniko issue https://github.com/GoogleContainerTools/kaniko/issues/1087
2024-02-13 19:20:58 +00:00
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root
2024-02-13 19:31:25 +00:00
RUN apt-get update --yes && \
apt-get install --yes --no-install-recommends \
git-lfs
2024-06-01 08:23:25 +00:00
# Install pgrok
RUN export url="https://github.com/pgrok/pgrok/releases/download/v1.4.1/pgrok_1.4.1_linux_"; \
if [ `uname -m` == "aarch64" ]; then \
export arch='arm64' \
2024-06-01 08:39:47 +00:00
&& wget --quiet ${url}${arch}.tar.gz -O pgrok_linux_${arch}.tar.gz ; \
2024-06-01 08:23:25 +00:00
else \
export arch='amd64' \
2024-06-01 08:39:47 +00:00
&& wget --quiet ${url}${arch}.tar.gz -O pgrok_linux_${arch}.tar.gz ; \
fi \
2024-06-01 08:23:25 +00:00
&& tar -xzf pgrok_linux_${arch}.tar.gz \
2024-06-01 08:48:19 +00:00
&& mv pgrok /usr/local/bin/pgrok
2024-06-01 08:39:47 +00:00
2024-02-13 19:20:58 +00:00
USER ${NB_UID}
RUN echo "install custom extensions "
2024-03-18 03:50:04 +00:00
RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-sandbox-theme==0.1.6
RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-sandbox-announcement==0.1.6
2024-06-01 07:59:16 +00:00
RUN pip install ipywebrtc==0.6.0 opencv-python-headless==4.9.0.80 voila==0.5.5 jupyterlab_rise==0.42.0
2024-02-05 15:07:55 +00:00
RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements"