mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-15 04:43:01 -04:00
Merge pull request #994 from linuxserver/universal-docker-in-docker-fd
use lower fd, remove arm32 checks
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
## Buildstage ##
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.19 as buildstage
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.21 as buildstage
|
||||
|
||||
ARG MOD_VERSION
|
||||
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
#!/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})
|
||||
mkdir -p /config/{logs/dockerd,var/lib/docker}
|
||||
lsiown -R ${ABC_USER}:${ABC_USER} /config/logs
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
#!/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 ****"
|
||||
docker pull lscr.io/linuxserver/qemu-static
|
||||
exec docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset -p yes
|
||||
|
||||
@@ -1 +1 @@
|
||||
10736
|
||||
736
|
||||
@@ -1,10 +1,5 @@
|
||||
#!/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
|
||||
export container=docker
|
||||
if [ -d /sys/kernel/security ] && ! mountpoint -q /sys/kernel/security; then
|
||||
|
||||
Reference in New Issue
Block a user