Skip to content

Commit 6afb33d

Browse files
committed
Merge remote-tracking branch 'upstream/main' into rhoai-3.3
2 parents d2b1d30 + 9aaf9b3 commit 6afb33d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile.konflux

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ WORKDIR /app
2525
USER 0
2626
COPY --from=python-builder /tmp/dist/mlflow-*.whl /tmp/dist/
2727
COPY --from=python-builder /tmp/dist/mlflow_kubernetes_workspace_provider-*.whl /tmp/dist/
28-
RUN python -m pip install --no-cache-dir /tmp/dist/mlflow-*.whl /tmp/dist/mlflow_kubernetes_workspace_provider-*.whl \
29-
&& rm -f /tmp/dist/mlflow-*.whl /tmp/dist/mlflow_kubernetes_workspace_provider-*.whl
28+
RUN set -eux; \
29+
dnf install -y --setopt=tsflags=nodocs postgresql-devel gcc python3-devel && \
30+
python -m pip install --no-cache-dir /tmp/dist/mlflow-*.whl /tmp/dist/mlflow_kubernetes_workspace_provider-*.whl && \
31+
python -m pip install --no-cache-dir psycopg2 && \
32+
dnf clean all && \
33+
rm -f /tmp/dist/mlflow-*.whl /tmp/dist/mlflow_kubernetes_workspace_provider-*.whl
3034

3135
# Copy built UI from builder stage
3236
COPY --from=ui-builder /opt/app-root/src/build /tmp/mlflow-ui-build

0 commit comments

Comments
 (0)