Skip to content

Commit

Permalink
Output image version on init if present
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed May 23, 2024
1 parent daf9c90 commit 0b48bf1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-adduser/run
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ GID/UID
echo "
User UID: $(id -u abc)
User GID: $(id -g abc)
───────────────────────────────────────"
if [[ -f /build_version ]]; then
cat /build_version
echo '
───────────────────────────────────────
"
'
fi

lsiown abc:abc /app
lsiown abc:abc /config
Expand Down

0 comments on commit 0b48bf1

Please sign in to comment.