mirror of
https://gh.con.sh/https://github.com/plexinc/pms-docker
synced 2025-04-24 15:47:20 +00:00
Add Intel NEO driver
This commit is contained in:
parent
a99fc1c5f1
commit
69b8aec45a
11
Dockerfile
11
Dockerfile
@ -5,6 +5,9 @@ ARG S6_OVERLAY_ARCH=amd64
|
||||
ARG PLEX_BUILD=linux-x86_64
|
||||
ARG PLEX_DISTRO=debian
|
||||
ARG DEBIAN_FRONTEND="noninteractive"
|
||||
ARG INTEL_NEO_VERSION=20.48.18558
|
||||
ARG INTEL_IGC_VERSION=1.0.5699
|
||||
ARG INTEL_GMMLIB_VERSION=20.3.2
|
||||
ENV TERM="xterm" LANG="C.UTF-8" LC_ALL="C.UTF-8"
|
||||
|
||||
ENTRYPOINT ["/init"]
|
||||
@ -27,6 +30,14 @@ RUN \
|
||||
tar xzf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz -C / --exclude='./bin' && \
|
||||
tar xzf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz -C /usr ./bin && \
|
||||
\
|
||||
# Fetch and install Intel Compute Runtime and its deps
|
||||
curl -J -L -o /tmp/gmmlib.deb https://github.com/intel/compute-runtime/releases/download/${INTEL_NEO_VERSION}/intel-gmmlib_${INTEL_GMMLIB_VERSION}_amd64.deb && \
|
||||
apt install -y /tmp/gmmlib.deb && \
|
||||
curl -J -L -o /tmp/#1.deb https://github.com/intel/intel-graphics-compiler/releases/download/igc-${INTEL_IGC_VERSION}/{intel-igc-core,intel-igc-opencl}_${INTEL_IGC_VERSION}_amd64.deb && \
|
||||
apt install -y /tmp/intel-igc-core.deb /tmp/intel-igc-opencl.deb && \
|
||||
curl -J -L -o /tmp/intel-opencl.deb https://github.com/intel/compute-runtime/releases/download/${INTEL_NEO_VERSION}/intel-opencl_${INTEL_NEO_VERSION}_amd64.deb && \
|
||||
apt install -y /tmp/intel-opencl.deb && \
|
||||
\
|
||||
# Add user
|
||||
useradd -U -d /config -s /bin/false plex && \
|
||||
usermod -G users plex && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user