feat: add initial Nexus3 files
This commit is contained in:
6
nexus3/uid_entrypoint
Normal file
6
nexus3/uid_entrypoint
Normal file
@@ -0,0 +1,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 "$@"
|
||||
Reference in New Issue
Block a user