feat: add initial Nexus3 files

This commit is contained in:
Dan K
2019-08-04 08:26:17 -04:00
parent 64e5c44acd
commit ac6169db7b
7 changed files with 277 additions and 0 deletions

6
nexus3/uid_entrypoint Normal file
View 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 "$@"