-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathDockerfile
29 lines (21 loc) · 891 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM registry.access.redhat.com/ubi8/python-312:1
ARG SOURCE_CODE=.
# Default for ubi8/python
WORKDIR /opt/app-root/src/pipelines/distributed-ilab
COPY ${SOURCE_CODE} .
USER root
RUN echo "Installing Runtime Dependencies" && \
pip install --no-cache-dir -r requirements.txt && \
chgrp -R 0 . && \
chmod -R g=u .
USER default
# Default for ubi8/python
WORKDIR /opt/app-root/src
LABEL name="odh-ml-pipelines-runtime-generic" \
summary="Generic runtime image for pipeline tasks with embedded managed pipelines." \
description="Generic runtime image for pipeline tasks with embedded managed pipelines." \
summary="odh-ml-pipelines-runtime-generic" \
maintainer="['[email protected]']" \
io.openshift.expose-services="" \
io.k8s.display-name="odh-ml-pipelines-runtime-generic" \
io.k8s.description="odh-ml-pipelines-runtime-generic"