Skip to content

Commit 3c8da64

Browse files
alexxfanmoulalis
authored andcommitted
Update Dockerfile.konflux
Signed-off-by: Alex Fan <91211463+alexxfan@users.noreply.github.com>
1 parent 252b192 commit 3c8da64

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

Dockerfile.konflux

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi9/nodejs-20:9.6 AS ui-builder
1+
FROM registry.access.redhat.com/ubi9/nodejs-20@sha256:9b80a629a415bf2bbee2f7d908cce8da8576e70fdf759578ebb47b11f2d68edc AS ui-builder
22
WORKDIR /opt/app-root/src
33
USER 0
44
RUN npm install -g yarn
@@ -7,7 +7,7 @@ USER 1001
77
RUN yarn install --silent \
88
&& yarn build
99

10-
FROM registry.access.redhat.com/ubi9/python-311:9.6 AS python-builder
10+
FROM registry.access.redhat.com/ubi9/python-311@sha256:d9d3aaa8c50c4afb1f2b16a509592addf9ca70876d1258e129ef318f0b318e0f AS python-builder
1111
WORKDIR /src
1212
USER 0
1313
COPY --chown=1001:0 . .
@@ -16,7 +16,7 @@ RUN set -eux; \
1616
python -m build --wheel --outdir /tmp/dist; \
1717
python -m build --wheel --outdir /tmp/dist kubernetes-workspace-provider
1818

19-
FROM registry.access.redhat.com/ubi9/python-311:9.6
19+
FROM registry.access.redhat.com/ubi9/python-311@sha256:d9d3aaa8c50c4afb1f2b16a509592addf9ca70876d1258e129ef318f0b318e0f
2020
ARG MLFLOW_VERSION=3.3.2
2121
ENV PYTHONDONTWRITEBYTECODE=1 \
2222
PYTHONUNBUFFERED=1
@@ -44,3 +44,13 @@ EXPOSE 5000
4444
# Default command. Override in Kubernetes as needed.
4545
USER 1001
4646
CMD ["mlflow", "server", "--host", "0.0.0.0", "--port", "5000", "--app-name", "kubernetes-auth", "--enable-workspaces", "--workspace-store-uri", "kubernetes://", "--serve-artifacts"]
47+
48+
LABEL com.redhat.component="odh-mlflow-rhel9" \
49+
name="rhoai/odh-mlflow-rhel9" \
50+
description="odh-mlflow" \
51+
summary="odh-mlflow" \
52+
maintainer="['managed-open-data-hub@redhat.com']" \
53+
io.openshift.expose-services="" \
54+
io.k8s.display-name="odh-mlflow" \
55+
io.k8s.description="odh-mlflow" \
56+
com.redhat.license_terms="https://www.redhat.com/licenses/Red_Hat_Standard_EULA_20191108.pdf"

0 commit comments

Comments
 (0)