dashboard
repositories
filestore
activity
search
login
RedHatTraining
/
DO288-apps
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
feat: add initial Nexus3 files
Dan K
2019-08-04
ac6169db7b90e950156a87d9784308429ce3bee2
[RedHatTraining/DO288-apps.git]
/
nexus3
/
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 "$@"