1 Star 0 Fork 4

nackman / gravity

forked from user_499098 / gravity 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
entrypoint.sh 281 Bytes
一键复制 编辑 原始数据 按行查看 历史
ming535 提交于 2018-12-27 15:32 . init commit
#!/bin/bash
# Add local user
# Either use the LOCAL_USER_ID if passed in at runtime or
# fallback
USER_ID=${LOCAL_USER_ID:-9001}
echo "Starting with UID : $USER_ID"
useradd --shell /bin/bash -u $USER_ID -o -c "" -m user
export HOME=/home/user
exec /usr/local/bin/gosu user "$@"
1
https://gitee.com/nackman/gravity.git
git@gitee.com:nackman/gravity.git
nackman
gravity
gravity
master

搜索帮助