Skip to content

Commit a0b3774

Browse files
committed
asdf
1 parent afaf4d9 commit a0b3774

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

jupyter/minimal/ubi9-python-3.11/Dockerfile.cpu

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN curl -L https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/clients/oc
2626
####################
2727
# jupyter-minimal #
2828
####################
29-
FROM base AS jupyter-minimal
29+
FROM base AS jupyter-minimal
3030

3131
ARG JUPYTER_REUSABLE_UTILS=jupyter/utils
3232
ARG MINIMAL_SOURCE_CODE=jupyter/minimal/ubi9-python-3.11
@@ -47,20 +47,20 @@ COPY ${JUPYTER_REUSABLE_UTILS} utils/
4747

4848
COPY ${MINIMAL_SOURCE_CODE}/Pipfile.lock ${MINIMAL_SOURCE_CODE}/start-notebook.sh ./
4949

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+
6464
WORKDIR /opt/app-root/src
6565

66-
ENTRYPOINT ["start-notebook.sh"]
66+
ENTRYPOINT ["start-notebook.sh"]

0 commit comments

Comments
 (0)