File tree 3 files changed +6
-205
lines changed
enterprise/redhat/openshift-ai/gaudi/docker
3 files changed +6
-205
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ ARG REVISION
8
8
LABEL vendor="Intel Corporation"
9
9
LABEL release="${VERSION}-${REVISION}"
10
10
11
- COPY licenses /licenses
12
-
13
11
ENV HOME="/opt/app-root/src"
14
12
WORKDIR /opt/app-root/src
15
13
@@ -63,6 +61,9 @@ RUN dnf install -y \
63
61
dnf update -y && \
64
62
dnf clean all && rm -rf /var/cache/yum
65
63
64
+ RUN mkdir -p /licenses && \
65
+ wget -O /licenses/LICENSE https://raw.githubusercontent.com/intel/ai-containers/main/LICENSE
66
+
66
67
ENV PYTHON_VERSION=3.10
67
68
COPY install-python310.sh .
68
69
RUN ./install-python310.sh rhel9.2 && rm install-python310.sh
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ ARG REVISION
8
8
LABEL vendor="Intel Corporation"
9
9
LABEL release="${VERSION}-${REVISION}"
10
10
11
- COPY licenses /licenses
12
-
13
11
ENV HOME="/opt/app-root/src"
14
12
WORKDIR /opt/app-root/src
15
13
@@ -74,6 +72,9 @@ RUN dnf install -y \
74
72
dnf update -y && \
75
73
dnf clean all && rm -rf /var/cache/yum
76
74
75
+ RUN mkdir -p /licenses && \
76
+ wget -O /licenses/LICENSE https://raw.githubusercontent.com/intel/ai-containers/main/LICENSE
77
+
77
78
RUN alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 2 && \
78
79
alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 && \
79
80
alternatives --set python3 /usr/bin/python3.11 && \
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments