Skip to content

Commit 7098a6a

Browse files
authored
Merge pull request #220 from vbedida79/patch-080324-1
tests_l2: updated gpu clinfo build to ubi9
2 parents cfccd07 + b562439 commit 7098a6a

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

tests/l2/dgpu/clinfo_build.yaml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,32 +21,35 @@ spec:
2121
source:
2222
type: Dockerfile
2323
dockerfile: |
24-
FROM registry.access.redhat.com/ubi8-minimal:latest
24+
ARG BUILDER=registry.access.redhat.com/ubi9-minimal:latest
25+
FROM ${BUILDER}
2526
26-
ARG OCL_ICD_VERSION=ocl-icd-2.2.12-1.el8.x86_64
27-
ARG CLINFO_VERSION=clinfo-3.0.21.02.21-4.el8.x86_64
27+
ARG OCL_ICD_VERSION=ocl-icd-2.2.13-4.el9.x86_64
28+
ARG CLINFO_VERSION=clinfo-3.0.21.02.21-4.el9.x86_64
2829
2930
RUN microdnf install -y \
3031
glibc \
3132
yum-utils
3233
3334
# install intel-opencl, ocl-icd and clinfo
3435
RUN dnf install -y 'dnf-command(config-manager)' && \
35-
dnf config-manager --add-repo https://repositories.intel.com/graphics/rhel/8.6/intel-graphics.repo && \
36+
dnf config-manager --add-repo https://repositories.intel.com/gpu/rhel/9.0/lts/2350/unified/intel-gpu-9.0.repo && \
3637
dnf install -y intel-opencl \
37-
https://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/$OCL_ICD_VERSION.rpm \
38-
https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/c/$CLINFO_VERSION.rpm && \
38+
https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/$OCL_ICD_VERSION.rpm \
39+
https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/c/$CLINFO_VERSION.rpm && \
3940
dnf clean all && dnf autoremove && rm -rf /var/lib/dnf/lists/* && \
4041
rm -rf /etc/yum.repos.d/intel-graphics.repo
4142
strategy:
4243
type: Docker
4344
noCache: true
4445
dockerStrategy:
4546
buildArgs:
47+
- name: "BUILDER"
48+
value: "registry.access.redhat.com/ubi9-minimal:latest"
4649
- name: "OCL_ICD_VERSION"
47-
value: "ocl-icd-2.2.12-1.el8.x86_64"
50+
value: "ocl-icd-2.2.13-4.el9.x86_64"
4851
- name: "CLINFO_VERSION"
49-
value: "clinfo-3.0.21.02.21-4.el8.x86_64"
52+
value: "clinfo-3.0.21.02.21-4.el9.x86_64"
5053
output:
5154
to:
5255
kind: ImageStreamTag

0 commit comments

Comments
 (0)