Skip to content

Commit

Permalink
Bring custom adduser into line with baseimage
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed May 31, 2024
1 parent b75a486 commit 2178767
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions root/etc/s6-overlay/s6-rc.d/init-adduser/run
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2178767

Please sign in to comment.