add latest intel compute packages for opencl
This commit is contained in:
parent
024eeaa2bd
commit
2fcfbdc597
3 changed files with 13 additions and 0 deletions
11
Dockerfile
11
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' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue