dev:修改组
Deploy to Test / deploy (push) Successful in 34s
Details
Deploy to Test / deploy (push) Successful in 34s
Details
This commit is contained in:
parent
31fc538f0f
commit
a160159f1f
|
@ -16,8 +16,8 @@ RUN curl -sS https://getcomposer.org/installer | php -- \
|
|||
--filename=composer
|
||||
|
||||
# 创建非 root 用户(推荐与宿主机用户 UID/GID 一致)
|
||||
ARG USER_ID=1003 # 宿主机 deploy-user 的 UID
|
||||
ARG GROUP_ID=1003 # 宿主机 deploy-user 的 GID
|
||||
ARG USER_ID=1001 # 宿主机 deploy-user 的 UID
|
||||
ARG GROUP_ID=1001 # 宿主机 deploy-user 的 GID
|
||||
RUN groupadd -g ${GROUP_ID} appuser \
|
||||
&& useradd -u ${USER_ID} -g appuser -m -d /home/appuser -s /bin/bash appuser
|
||||
|
||||
|
|
Loading…
Reference in New Issue