install intel drivers after plex to fix tonemap

pull/298/head
aptalca 3 years ago
parent d004764e97
commit b00e11ed4a

@ -31,6 +31,16 @@ RUN \
udev \ udev \
unrar \ unrar \
wget && \ wget && \
echo "**** install plex ****" && \
if [ -z ${PLEX_RELEASE+x} ]; then \
PLEX_RELEASE=$(curl -sX GET 'https://plex.tv/api/downloads/5.json' \
| jq -r '.computer.Linux.version'); \
fi && \
curl -o \
/tmp/plexmediaserver.deb -L \
"${PLEX_DOWNLOAD}/${PLEX_RELEASE}/debian/plexmediaserver_${PLEX_RELEASE}_${PLEX_ARCH}.deb" && \
dpkg -i /tmp/plexmediaserver.deb && \
echo "**** Install the latest Intel drivers ****" && \
COMP_RT_RELEASE=$(curl -sX GET "https://api.github.com/repos/intel/compute-runtime/releases/latest" | jq -r '.tag_name') && \ 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') && \ 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 && \ mkdir -p /opencl-intel && \
@ -42,15 +52,6 @@ RUN \
done && \ done && \
dpkg -i /opencl-intel/*.deb && \ dpkg -i /opencl-intel/*.deb && \
rm -rf /opencl-intel && \ 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' \
| jq -r '.computer.Linux.version'); \
fi && \
curl -o \
/tmp/plexmediaserver.deb -L \
"${PLEX_DOWNLOAD}/${PLEX_RELEASE}/debian/plexmediaserver_${PLEX_RELEASE}_${PLEX_ARCH}.deb" && \
dpkg -i /tmp/plexmediaserver.deb && \
echo "**** ensure abc user's home folder is /app ****" && \ echo "**** ensure abc user's home folder is /app ****" && \
usermod -d /app abc && \ usermod -d /app abc && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \

@ -299,6 +299,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions ## Versions
* **23.12.21:** - Install Intel drivers _after_ Plex to fix broken tone mapping on comet lake.
* **20.01.21:** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information. * **20.01.21:** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information.
* **10.12.20:** - Add latest Intel Compute packages from github repo for opencl support on latest gen igpu. * **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. * **23.11.20:** - Add Bionic branch make Focal default.

@ -107,6 +107,7 @@ app_setup_block: |
# changelog # changelog
changelogs: changelogs:
- { date: "23.12.21:", desc: "Install Intel drivers _after_ Plex to fix broken tone mapping on comet lake." }
- { date: "20.01.21:", desc: "Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information." } - { date: "20.01.21:", desc: "Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information." }
- { date: "10.12.20:", desc: "Add latest Intel Compute packages from github repo for opencl support on latest gen igpu." } - { 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: "23.11.20:", desc: "Add Bionic branch make Focal default." }

Loading…
Cancel
Save