dind deprecate armhf

This commit is contained in:
aptalca
2023-08-07 13:57:41 -04:00
parent 2b033cae73
commit e06197ac28
4 changed files with 15 additions and 23 deletions
@@ -1,5 +1,10 @@
#!/usr/bin/with-contenv bash
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,5 +1,10 @@
#!/usr/bin/with-contenv bash
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
if [[ $(uname -m) = "x86_64" ]]; then
echo "**** Enabling QEMU ****"
exec docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
@@ -1,5 +1,10 @@
#!/usr/bin/with-contenv bash
if [[ "${ARCH}" = "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