-
Notifications
You must be signed in to change notification settings - Fork 244
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (26 loc) · 902 Bytes
/
Dockerfile
File metadata and controls
37 lines (26 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Ubuntu 18.04.1 LTS Bionic
ARG BASE_CONTAINER=jupyter/scipy-notebook:2023-03-13
FROM $BASE_CONTAINER
ENV PATH $PATH:$CONDA_DIR/bin
# Add debugger support
RUN pip install --upgrade ipykernel
RUN conda install --quiet --yes \
cffi \
future \
pycryptodomex && \
conda clean --all && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
ADD jupyter_enterprise_gateway_kernel_image_files*.tar.gz /usr/local/bin/
USER root
RUN apt-get update && apt-get install -yq --no-install-recommends \
libkrb5-dev \
&& rm -rf /var/lib/apt/lists/*
RUN chown jovyan:users /usr/local/bin/bootstrap-kernel.sh && \
chmod 0755 /usr/local/bin/bootstrap-kernel.sh && \
chown -R jovyan:users /usr/local/bin/kernel-launchers
USER jovyan
ENV KERNEL_LANGUAGE python
# Disble healthcheck inherited from notebook image
HEALTHCHECK NONE
CMD /usr/local/bin/bootstrap-kernel.sh