Skip to content

Commit f74a7d8

Browse files
authored
Fix rhel8 preflight hasLicense test (#337)
1 parent 25cd095 commit f74a7d8

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

templates/rhel8/common/base.dockerfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ RUN if [ "$INSTALL_SOURCES" = "no" ]; then \
7777
fi
7878

7979
WORKDIR /licenses
80-
RUN cp -rf "${INTEL_OPENVINO_DIR}"/licensing /licenses
80+
RUN cp -rf "${INTEL_OPENVINO_DIR}"/licensing/* /licenses
8181

8282
{% for command in commands %}
8383
{{ command|safe }}

templates/rhel8/dist/dev.dockerfile.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ RUN if [ "$INSTALL_SOURCES" = "yes" ]; then \
2222
WORKDIR ${INTEL_OPENVINO_DIR}/licensing
2323
RUN curl -L https://raw.githubusercontent.com/openvinotoolkit/docker_ci/master/dockerfiles/rhel8/third-party-programs-docker-runtime.txt --output third-party-programs-docker-runtime.txt && \
2424
curl -L https://raw.githubusercontent.com/openvinotoolkit/docker_ci/master/dockerfiles/rhel8/third-party-programs-docker-dev.txt --output third-party-programs-docker-dev.txt
25+
RUN cp third-party-programs-docker-dev.txt third-party-programs-docker-runtime.txt /licenses
2526

2627

2728
# Install dependencies needed by OV::RemoteTensor
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
WORKDIR ${INTEL_OPENVINO_DIR}/licensing
2-
RUN curl -L https://raw.githubusercontent.com/openvinotoolkit/docker_ci/master/dockerfiles/rhel8/third-party-programs-docker-runtime.txt --output third-party-programs-docker-runtime.txt
2+
RUN curl -L https://raw.githubusercontent.com/openvinotoolkit/docker_ci/master/dockerfiles/rhel8/third-party-programs-docker-runtime.txt --output third-party-programs-docker-runtime.txt
3+
RUN cp third-party-programs-docker-runtime.txt /licenses

0 commit comments

Comments
 (0)