mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 00:45:46 -04:00
remove arm32 check
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
## Buildstage ##
|
## Buildstage ##
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.19 as buildstage
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.21 as buildstage
|
||||||
|
|
||||||
ARG MOD_VERSION
|
ARG MOD_VERSION
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
ARCH=$(uname -m)
|
|
||||||
if [[ "${ARCH}" = "armv7l" ]]; then
|
|
||||||
echo "**** The universal docker mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
ABC_USER=$(id -nu ${PUID:-911})
|
ABC_USER=$(id -nu ${PUID:-911})
|
||||||
mkdir -p /config/{logs/dockerd,var/lib/docker}
|
mkdir -p /config/{logs/dockerd,var/lib/docker}
|
||||||
lsiown -R ${ABC_USER}:${ABC_USER} /config/logs
|
lsiown -R ${ABC_USER}:${ABC_USER} /config/logs
|
||||||
|
|||||||
@@ -1,10 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if [[ $(uname -m) = "armv7l" ]]; then
|
|
||||||
echo "**** The universal docker mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "**** Enabling QEMU ****"
|
echo "**** Enabling QEMU ****"
|
||||||
docker pull lscr.io/linuxserver/qemu-static
|
docker pull lscr.io/linuxserver/qemu-static
|
||||||
exec docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset -p yes
|
exec docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset -p yes
|
||||||
|
|||||||
@@ -1,10 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if [[ $(uname -m) = "armv7l" ]]; then
|
|
||||||
echo "**** The universal docker mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
|
|
||||||
sleep infinity
|
|
||||||
fi
|
|
||||||
|
|
||||||
## dind hack from https://github.com/moby/moby/blob/master/hack/dind
|
## dind hack from https://github.com/moby/moby/blob/master/hack/dind
|
||||||
export container=docker
|
export container=docker
|
||||||
if [ -d /sys/kernel/security ] && ! mountpoint -q /sys/kernel/security; then
|
if [ -d /sys/kernel/security ] && ! mountpoint -q /sys/kernel/security; then
|
||||||
|
|||||||
Reference in New Issue
Block a user