mirror of
https://github.com/linuxserver/docker-plex.git
synced 2026-04-13 00:04:33 +08:00
install intel drivers after plex to fix tonemap
This commit is contained in:
parent
d004764e97
commit
b00e11ed4a
19
Dockerfile
19
Dockerfile
@ -31,6 +31,16 @@ RUN \
|
||||
udev \
|
||||
unrar \
|
||||
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_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 && \
|
||||
@ -42,15 +52,6 @@ RUN \
|
||||
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' \
|
||||
| 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 ****" && \
|
||||
usermod -d /app abc && \
|
||||
echo "**** cleanup ****" && \
|
||||
|
||||
@ -299,6 +299,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## 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.
|
||||
* **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.
|
||||
|
||||
@ -107,6 +107,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
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: "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." }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user