From 2fcfbdc597931007f2d7584b80bf3545a8a7ac62 Mon Sep 17 00:00:00 2001 From: aptalca Date: Thu, 10 Dec 2020 15:36:02 -0500 Subject: [PATCH] add latest intel compute packages for opencl --- Dockerfile | 11 +++++++++++ README.md | 1 + readme-vars.yml | 1 + 3 files changed, 13 insertions(+) diff --git a/Dockerfile b/Dockerfile index bd298e1..5e32433 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,17 @@ RUN \ udev \ unrar \ wget && \ + COMP_RT_RELEASE=$(curl -sX GET "https://api.github.com/repos/intel/compute-runtime/releases/latest" | jq -r '.tag_name') && \ + COMP_RT_URLS=$(curl -sX GET "https://api.github.com/repos/intel/compute-runtime/releases/tags/${COMP_RT_RELEASE}" | jq -r '.body' | grep wget | sed 's|wget ||g') && \ + mkdir -p /opencl-intel && \ + for i in ${COMP_RT_URLS}; do \ + i=$(echo ${i} | tr -d '\r'); \ + echo "**** downloading ${i} ****"; \ + curl -o "/opencl-intel/$(basename ${i})" \ + -L "${i}"; \ + done && \ + dpkg -i /opencl-intel/*.deb && \ + rm -rf /opencl-intel && \ echo "**** install plex ****" && \ if [ -z ${PLEX_RELEASE+x} ]; then \ PLEX_RELEASE=$(curl -sX GET 'https://plex.tv/api/downloads/5.json' \ diff --git a/README.md b/README.md index 7211918..4a4c5d4 100644 --- a/README.md +++ b/README.md @@ -297,6 +297,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **10.12.20:** - Add latest Intel Compute packages from github repo for opencl support on latest gen igpu. * **23.11.20:** - Add Bionic branch make Focal default. * **03.05.20:** - Update exposed ports and example docs for bridge mode. * **23.03.20:** - Remove udev hack (no longer needed), suppress uuid error in log during first start. diff --git a/readme-vars.yml b/readme-vars.yml index c23b34d..b02f294 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -106,6 +106,7 @@ app_setup_block: | # changelog changelogs: + - { date: "10.12.20:", desc: "Add latest Intel Compute packages from github repo for opencl support on latest gen igpu." } - { date: "23.11.20:", desc: "Add Bionic branch make Focal default." } - { date: "03.05.20:", desc: "Update exposed ports and example docs for bridge mode." } - { date: "23.03.20:", desc: "Remove udev hack (no longer needed), suppress uuid error in log during first start." }