Merge pull request #793 from linuxserver/jellyfin-opencl-intel-debug

ignore debug packages
This commit is contained in:
aptalca
2023-12-03 09:35:27 -05:00
committed by GitHub
+3 -3
View File
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
## Buildstage ##
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
FROM ghcr.io/linuxserver/baseimage-alpine:3.18 as buildstage
ARG MOD_VERSION
@@ -10,13 +10,13 @@ RUN \
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/${MOD_VERSION}" | 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 .sum | grep -v .ddeb | sed 's|wget ||g') && \
echo "**** grab debs ****" && \
mkdir -p /root-layer/opencl-intel && \
for i in $COMP_RT_URLS; do \
echo "**** downloading ${i%$'\r'} ****" && \
curl -o /root-layer/opencl-intel/$(basename "${i%$'\r'}") \
-L "${i%$'\r'}"; \
-fL "${i%$'\r'}"; \
done
# copy local files