Skip to content

Commit 1281e00

Browse files
committed
license reused from root dir
Signed-off-by: sharvil10 <sharvil.shah@intel.com>
1 parent 6a5d998 commit 1281e00

File tree

3 files changed

+6
-205
lines changed

3 files changed

+6
-205
lines changed

enterprise/redhat/openshift-ai/gaudi/docker/Dockerfile.rhel9.2

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ ARG REVISION
88
LABEL vendor="Intel Corporation"
99
LABEL release="${VERSION}-${REVISION}"
1010

11-
COPY licenses /licenses
12-
1311
ENV HOME="/opt/app-root/src"
1412
WORKDIR /opt/app-root/src
1513

@@ -63,6 +61,9 @@ RUN dnf install -y \
6361
dnf update -y && \
6462
dnf clean all && rm -rf /var/cache/yum
6563

64+
RUN mkdir -p /licenses && \
65+
wget -O /licenses/LICENSE https://raw.githubusercontent.com/intel/ai-containers/main/LICENSE
66+
6667
ENV PYTHON_VERSION=3.10
6768
COPY install-python310.sh .
6869
RUN ./install-python310.sh rhel9.2 && rm install-python310.sh

enterprise/redhat/openshift-ai/gaudi/docker/Dockerfile.rhel9.4

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ ARG REVISION
88
LABEL vendor="Intel Corporation"
99
LABEL release="${VERSION}-${REVISION}"
1010

11-
COPY licenses /licenses
12-
1311
ENV HOME="/opt/app-root/src"
1412
WORKDIR /opt/app-root/src
1513

@@ -74,6 +72,9 @@ RUN dnf install -y \
7472
dnf update -y && \
7573
dnf clean all && rm -rf /var/cache/yum
7674

75+
RUN mkdir -p /licenses && \
76+
wget -O /licenses/LICENSE https://raw.githubusercontent.com/intel/ai-containers/main/LICENSE
77+
7778
RUN alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 2 && \
7879
alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 && \
7980
alternatives --set python3 /usr/bin/python3.11 && \

enterprise/redhat/openshift-ai/gaudi/docker/licenses/LICENSE.txt

-201
This file was deleted.

0 commit comments

Comments
 (0)