@@ -26,7 +26,7 @@ RUN curl -L https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/clients/oc
26
26
####################
27
27
# jupyter-minimal #
28
28
####################
29
- FROM base AS jupyter-minimal
29
+ FROM base AS jupyter-minimal
30
30
31
31
ARG JUPYTER_REUSABLE_UTILS=jupyter/utils
32
32
ARG MINIMAL_SOURCE_CODE=jupyter/minimal/ubi9-python-3.11
@@ -47,20 +47,20 @@ COPY ${JUPYTER_REUSABLE_UTILS} utils/
47
47
48
48
COPY ${MINIMAL_SOURCE_CODE}/Pipfile.lock ${MINIMAL_SOURCE_CODE}/start-notebook.sh ./
49
49
50
- # Install Python dependencies from Pipfile.lock file
51
- RUN echo "Installing softwares and packages" && \
52
- micropipenv install && \
53
- rm -f ./Pipfile.lock && \
54
- # Disable announcement plugin of jupyterlab \
55
- jupyter labextension disable "@jupyterlab/apputils-extension:announcements" && \
56
- # Replace Notebook's launcher, "(ipykernel)" with Python's version 3.x.y \
57
- sed -i -e "s/Python.*/$(python --version | cut -d '.' -f-2)\",/" /opt/app-root/share/jupyter/kernels/python3/kernel.json && \
58
- # Fix permissions to support pip in Openshift environments \
59
- chmod -R g+w /opt/app-root/lib/python3.11/site-packages && \
60
- fix-permissions /opt/app-root -P && \
61
- # Apply JupyterLab addons \
62
- /opt/app-root/bin/utils/addons/apply.sh
63
-
50
+ # # Install Python dependencies from Pipfile.lock file
51
+ # RUN echo "Installing softwares and packages" && \
52
+ # micropipenv install && \
53
+ # rm -f ./Pipfile.lock && \
54
+ # # Disable announcement plugin of jupyterlab \
55
+ # jupyter labextension disable "@jupyterlab/apputils-extension:announcements" && \
56
+ # # Replace Notebook's launcher, "(ipykernel)" with Python's version 3.x.y \
57
+ # sed -i -e "s/Python.*/$(python --version | cut -d '.' -f-2)\",/" /opt/app-root/share/jupyter/kernels/python3/kernel.json && \
58
+ # # Fix permissions to support pip in Openshift environments \
59
+ # chmod -R g+w /opt/app-root/lib/python3.11/site-packages && \
60
+ # fix-permissions /opt/app-root -P && \
61
+ # # Apply JupyterLab addons \
62
+ # /opt/app-root/bin/utils/addons/apply.sh
63
+
64
64
WORKDIR /opt/app-root/src
65
65
66
- ENTRYPOINT ["start-notebook.sh"]
66
+ ENTRYPOINT ["start-notebook.sh"]
0 commit comments