mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-30 03:53:18 -04:00
jellyfin-opencl-intel update/add workflows
This commit is contained in:
+8
-9
@@ -1,17 +1,16 @@
|
||||
## Buildstage ##
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.15 as buildstage
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG COMP_RT_RELEASE
|
||||
## Buildstage ##
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
|
||||
|
||||
ARG MOD_VERSION
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apk add --no-cache \
|
||||
curl \
|
||||
jq && \
|
||||
if [ -z "${COMP_RT_RELEASE}" ]; then \
|
||||
COMP_RT_RELEASE=$(curl -sX GET "https://api.github.com/repos/intel/compute-runtime/releases/latest" | jq -r '.tag_name'); \
|
||||
if [ -z "${MOD_VERSION}" ]; then \
|
||||
MOD_VERSION=$(curl -sX GET "https://api.github.com/repos/intel/compute-runtime/releases/latest" | jq -r '.tag_name'); \
|
||||
fi && \
|
||||
COMP_RT_URLS=$(curl -sX GET "https://api.github.com/repos/intel/compute-runtime/releases/tags/${COMP_RT_RELEASE}" | jq -r '.body' | grep wget | grep -v ww47 | sed 's|wget ||g') && \
|
||||
COMP_RT_URLS=$(curl -sX GET "https://api.github.com/repos/intel/compute-runtime/releases/tags/${MOD_VERSION}" | jq -r '.body' | grep wget | grep -v ww47 | sed 's|wget ||g') && \
|
||||
echo "**** grab debs ****" && \
|
||||
mkdir -p /root-layer/opencl-intel && \
|
||||
for i in $COMP_RT_URLS; do \
|
||||
|
||||
Reference in New Issue
Block a user