dashboard
repositories
filestore
activity
search
login
RedHatTraining
/
DO288-apps
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
initial commit with apps from course repo
Richard Allred
2019-05-23
497620c4d1bcb410267c56351432f87fb3aee5a4
[RedHatTraining/DO288-apps.git]
/
nexus-image
/
uid_entrypoint
1
2
3
4
5
6
#!/bin/sh
USER_ID=$(id -u)
if [ ${USER_UID} != ${USER_ID} ]; then
sed "s@${USER_NAME}:x:\${USER_ID}:@${USER_NAME}:x:${USER_ID}:@g" /etc/passwd.template > /etc/passwd
fi
exec "$@"