mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 08:48:27 -04:00
Merge pull request #437 from linuxserver/jellyfin-opencl-intel-s6v3
switch to hybrid (jellyfin-opencl-intel)
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
## Buildstage ##
|
## Buildstage ##
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.14 as buildstage
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.15 as buildstage
|
||||||
|
|
||||||
ARG COMP_RT_RELEASE
|
ARG COMP_RT_RELEASE
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
# Determine if setup is needed
|
||||||
|
if [ ! -f "/usr/bin/apt" ]; then
|
||||||
|
echo "**** Image is not Ubuntu, skipping opencl-intel install ****"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $(uname -m) != "x86_64" ]; then
|
||||||
|
echo "**** Opencl-intel only works on X86_64, skipping ****"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d /opencl-intel ]; then
|
||||||
|
echo "**** Installing/updating opencl-intel debs and adding clinfo to package install list ****"
|
||||||
|
dpkg -i /opencl-intel/*.deb
|
||||||
|
rm -rf /opencl-intel
|
||||||
|
echo "clinfo" >> /mod-repo-packages-to-install.list
|
||||||
|
else
|
||||||
|
echo "**** Opencl-intel already installed ****"
|
||||||
|
fi
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
oneshot
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/etc/s6-overlay/s6-rc.d/init-mod-jellyfin-opencl-intel-add-package/run
|
||||||
Reference in New Issue
Block a user