Bring custom adduser into line with baseimage

This commit is contained in:
thespad 2024-05-31 17:00:41 +01:00
parent b75a486c8c
commit 217876704d
No known key found for this signature in database
GPG Key ID: 08F06191F4587860

View File

@ -31,21 +31,12 @@ GID/UID
echo "
User UID: $(id -u "${USER_NAME}")
User GID: $(id -g "${USER_NAME}")
───────────────────────────────────────
"
if [[ "$(uname -m)" == "armv7l" ]] || [[ "$(uname -m)" == "armhf" ]]; then
───────────────────────────────────────"
if [[ -f /build_version ]]; then
cat /build_version
echo '
╔═════════════════════════════════════════════════════╗
║ ║
║ The 32-bit Arm version of this image will ║
║ no longer be supported after 2023-07-01 ║
║ ║
║ See: https://linuxserver.io/armhf ║
║ for more details ║
║ ║
╚═════════════════════════════════════════════════════╝
'
───────────────────────────────────────
'
fi
lsiown "${USER_NAME}":"${USER_NAME}" /app