@@ -26,28 +26,28 @@ COPY utils utils/
26
26
# Install Python packages and Jupyterlab extensions from conda environment file
27
27
COPY environment.yml start-notebook.sh ./
28
28
# Copy Elyra setup to utils so that it's sourced at startup
29
- COPY jupyter_elyra_config.py setup-elyra.sh pipeline-flow.svg ./utils/
29
+ # COPY jupyter_elyra_config.py setup-elyra.sh pipeline-flow.svg ./utils/
30
30
31
31
RUN echo "Installing softwares and packages" && \
32
32
/opt/anaconda3/bin/conda env update -p "${APP_ROOT}" --file environment.yml && \
33
33
rm -f ./environment.yml && \
34
34
# setup path for runtime configuration \
35
35
mkdir /opt/app-root/runtimes && \
36
36
# switch to Data Science Pipeline \
37
- cp utils/pipeline-flow.svg /opt/app-root/lib/python3.8/site-packages/elyra/static/icons/kubeflow.svg && \
38
- sed -i "s/Kubeflow Pipelines/Data Science/g" /opt/app-root/lib/python3.8/site-packages/elyra/pipeline/runtime_type.py && \
39
- sed -i "s/Kubeflow Pipelines/Data Science Pipelines/g" /opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/kfp.json && \
40
- sed -i "s/\" default\" : \" Argo\" ,/\" default\" : \" Tekton\" ,/g" /opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/kfp.json && \
37
+ # cp utils/pipeline-flow.svg /opt/app-root/lib/python3.8/site-packages/elyra/static/icons/kubeflow.svg && \
38
+ # sed -i "s/Kubeflow Pipelines/Data Science/g" /opt/app-root/lib/python3.8/site-packages/elyra/pipeline/runtime_type.py && \
39
+ # sed -i "s/Kubeflow Pipelines/Data Science Pipelines/g" /opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/kfp.json && \
40
+ # sed -i "s/\"default\": \"Argo\",/\"default\": \"Tekton\",/g" /opt/app-root/lib/python3.8/site-packages/elyra/metadata/schemas/kfp.json && \
41
41
# Replace Notebook's launcher, "(ipykernel)" with Python's version 3.x.y \
42
42
sed -i -e "s/Python.*/$(python --version)\" ,/" /opt/app-root/share/jupyter/kernels/python3/kernel.json && \
43
43
# Remove default Elyra runtime-images \
44
- rm /opt/app-root/share/jupyter/metadata/runtime-images/*.json && \
44
+ # rm /opt/app-root/share/jupyter/metadata/runtime-images/*.json && \
45
45
# Fix permissions to support pip in Openshift environments \
46
46
chmod -R g+w /opt/app-root/lib/python3.8/site-packages && \
47
47
fix-permissions /opt/app-root -P
48
48
49
49
# Copy Elyra runtime-images definitions and set the version
50
- COPY runtime-images/ /opt/app-root/share/jupyter/metadata/runtime-images/
50
+ # COPY runtime-images/ /opt/app-root/share/jupyter/metadata/runtime-images/
51
51
52
52
USER root
53
53
RUN mkdir /etc/conda
0 commit comments