File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
jupyter/datascience/ubi9-python-3.11 Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ RUN echo "Installing softwares and packages" && \
91
91
rm -f ./Pipfile.lock && \
92
92
# setup path for runtime configuration
93
93
mkdir /opt/app-root/runtimes && \
94
+ mkdir /opt/app-root/pipeline-runtimes && \
94
95
# Remove default Elyra runtime-images \
95
96
rm /opt/app-root/share/jupyter/metadata/runtime-images/*.json && \
96
97
# Replace Notebook's launcher, "(ipykernel)" with Python's version 3.x.y \
@@ -103,7 +104,4 @@ RUN echo "Installing softwares and packages" && \
103
104
chmod -R g+w /opt/app-root/lib/python3.11/site-packages && \
104
105
fix-permissions /opt/app-root -P
105
106
106
- # Copy Elyra runtime-images definitions and set the version
107
- COPY ${DATASCIENCE_SOURCE_CODE}/runtime-images/ /opt/app-root/share/jupyter/metadata/runtime-images/
108
-
109
107
WORKDIR /opt/app-root/src
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ if [ "$(ls -A /opt/app-root/runtimes/)" ]; then
14
14
cp -r /opt/app-root/runtimes/..data/* .json $( jupyter --data-dir) /metadata/runtimes/
15
15
fi
16
16
17
+ # Set elyra runtime images json from volume mount
18
+ if [ " $( ls -A /opt/app-root/pipeline-runtimes/) " ]; then
19
+ cp -r /opt/app-root/pipeline-runtimes/..data/* .json /opt/app-root/share/jupyter/metadata/runtime-images/
20
+ fi
21
+
17
22
# Environment vars set for accessing ssl_sa_certs and sa_token
18
23
# export PIPELINES_SSL_SA_CERTS="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
19
24
export KF_PIPELINES_SA_TOKEN_ENV=" /var/run/secrets/kubernetes.io/serviceaccount/token"
You can’t perform that action at this time.
0 commit comments