mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
standardize apt-get, rebase to 3.14
This commit is contained in:
+11
-11
@@ -1,24 +1,24 @@
|
||||
## Buildstage ##
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.12 as buildstage
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.14 as buildstage
|
||||
|
||||
ARG COMP_RT_RELEASE
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apk add --no-cache \
|
||||
echo "**** install packages ****" && \
|
||||
apk add --no-cache \
|
||||
curl \
|
||||
jq && \
|
||||
if [ -z "${COMP_RT_RELEASE}" ]; then \
|
||||
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'); \
|
||||
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') && \
|
||||
echo "**** grab debs ****" && \
|
||||
mkdir -p /root-layer/opencl-intel && \
|
||||
for i in $COMP_RT_URLS; do \
|
||||
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') && \
|
||||
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'}"; \
|
||||
done
|
||||
-L "${i%$'\r'}"; \
|
||||
done
|
||||
|
||||
# copy local files
|
||||
COPY root/ /root-layer/
|
||||
|
||||
Reference in New Issue
Block a user