@@ -23,30 +23,31 @@ spec:
23
23
dockerfile : |
24
24
FROM registry.access.redhat.com/ubi8-minimal:latest
25
25
26
- ARG OCL_ICD_VERSION=ocl-icd-2.2.12-1.el7 .x86_64
27
- ARG CLINFO_VERSION=clinfo-2.2.18.04.06-6.fc34 .x86_64
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
28
28
29
29
RUN microdnf install -y \
30
30
glibc \
31
31
yum-utils
32
32
33
33
# install intel-opencl, ocl-icd and clinfo
34
34
RUN dnf install -y 'dnf-command(config-manager)' && \
35
- dnf config-manager --add-repo https://repositories.intel.com/graphics/rhel/8.4 /intel-graphics.repo && \
35
+ dnf config-manager --add-repo https://repositories.intel.com/graphics/rhel/8.6 /intel-graphics.repo && \
36
36
dnf install -y intel-opencl \
37
- https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/o/$OCL_ICD_VERSION.rpm \
38
- http://rpmfind.net/linux/fedora/linux/releases/34/Everything/x86_64/os/Packages/c/$CLINFO_VERSION.rpm && \
39
- dnf clean all && dnf autoremove && rm -rf /var/lib/dnf/lists/*
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 && \
39
+ dnf clean all && dnf autoremove && rm -rf /var/lib/dnf/lists/* && \
40
+ rm -rf /etc/yum.repos.d/intel-graphics.repo
40
41
strategy :
41
42
type : Docker
42
43
noCache : true
43
44
dockerStrategy :
44
45
buildArgs :
45
46
- name : " OCL_ICD_VERSION"
46
- value : " ocl-icd-2.2.12-1.el7 .x86_64"
47
+ value : " ocl-icd-2.2.12-1.el8 .x86_64"
47
48
- name : " CLINFO_VERSION"
48
- value : " clinfo-2.2.18.04.06-6.fc34 .x86_64"
49
+ value : " clinfo-3.0.21.02.21-4.el8 .x86_64"
49
50
output :
50
51
to :
51
52
kind : ImageStreamTag
52
- name : intel-dgpu-clinfo:latest
53
+ name : intel-dgpu-clinfo:latest
0 commit comments