Skip to content

Commit 8c4d27c

Browse files
committed
RHOAIENG-36046: sync the Dockerfile.konflux.cuda with the Dockerfile.cuda from odh-io (#1638)
1 parent 01ff6da commit 8c4d27c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

jupyter/tensorflow/ubi9-python-3.12/Dockerfile.konflux.cuda

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,6 @@ RUN dnf install -y jq unixODBC postgresql git-lfs libsndfile libxcrypt-compat &&
103103
# Copy dynamically-linked mongocli built in earlier build stage
104104
COPY --from=mongocli-builder /tmp/mongocli /opt/app-root/bin/
105105

106-
# hdf5 is needed for h5py
107-
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
108-
dnf install -y hdf5-devel && \
109-
dnf clean all
110-
111106
# Other apps and tools installed as default user
112107
USER 1001
113108

@@ -121,6 +116,7 @@ WORKDIR /opt/app-root/src
121116
############################
122117
FROM cuda-jupyter-datascience AS cuda-jupyter-tensorflow
123118

119+
ARG JUPYTER_REUSABLE_UTILS=jupyter/utils
124120
ARG DATASCIENCE_SOURCE_CODE=jupyter/datascience/ubi9-python-3.12
125121
ARG TENSORFLOW_SOURCE_CODE=jupyter/tensorflow/ubi9-python-3.12
126122

@@ -149,6 +145,8 @@ RUN echo "Installing softwares and packages" && \
149145
chmod -R g+w /opt/app-root/lib/python3.12/site-packages && \
150146
fix-permissions /opt/app-root -P
151147

148+
COPY ${JUPYTER_REUSABLE_UTILS}/usercustomize.pth ${JUPYTER_REUSABLE_UTILS}/monkey_patch_protobuf_6x.py /opt/app-root/lib/python3.12/site-packages/
149+
152150
WORKDIR /opt/app-root/src
153151

154152
LABEL name="rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9" \

0 commit comments

Comments
 (0)