Files
polaris/entrypoint.sh
Simon Ding 09862a2844 fix: name
2024-10-10 18:24:38 +08:00

12 lines
213 B
Bash

#!/bin/bash
groupadd -g ${PGID} abc1
useradd abc1 -u ${PUID} -g ${PGID} -m -s /bin/bash
## 重设权限
chown -R "${PUID}:${PGID}" /app/data
umask ${UMASK:-022}
cd /app
exec gosu "${PUID}:${PGID}" /app/polaris