mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 18:03:01 -04:00
Merge pull request #793 from linuxserver/jellyfin-opencl-intel-debug
ignore debug packages
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
## Buildstage ##
|
## Buildstage ##
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.18 as buildstage
|
||||||
|
|
||||||
ARG MOD_VERSION
|
ARG MOD_VERSION
|
||||||
|
|
||||||
@@ -10,13 +10,13 @@ RUN \
|
|||||||
if [ -z "${MOD_VERSION}" ]; then \
|
if [ -z "${MOD_VERSION}" ]; then \
|
||||||
MOD_VERSION=$(curl -sX GET "https://api.github.com/repos/intel/compute-runtime/releases/latest" | jq -r '.tag_name'); \
|
MOD_VERSION=$(curl -sX GET "https://api.github.com/repos/intel/compute-runtime/releases/latest" | jq -r '.tag_name'); \
|
||||||
fi && \
|
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 ****" && \
|
echo "**** grab debs ****" && \
|
||||||
mkdir -p /root-layer/opencl-intel && \
|
mkdir -p /root-layer/opencl-intel && \
|
||||||
for i in $COMP_RT_URLS; do \
|
for i in $COMP_RT_URLS; do \
|
||||||
echo "**** downloading ${i%$'\r'} ****" && \
|
echo "**** downloading ${i%$'\r'} ****" && \
|
||||||
curl -o /root-layer/opencl-intel/$(basename "${i%$'\r'}") \
|
curl -o /root-layer/opencl-intel/$(basename "${i%$'\r'}") \
|
||||||
-L "${i%$'\r'}"; \
|
-fL "${i%$'\r'}"; \
|
||||||
done
|
done
|
||||||
|
|
||||||
# copy local files
|
# copy local files
|
||||||
|
|||||||
Reference in New Issue
Block a user