mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-02-21 10:15:46 +08:00
fix: fix regression in LOCAL_USER (#5517)
Signed-off-by: ixlmar <206748156+ixlmar@users.noreply.github.com>
This commit is contained in:
parent
c2799d0465
commit
a811077f90
@ -10,7 +10,7 @@ ARG GROUP_NAME=root
|
||||
|
||||
RUN (getent group ${GROUP_ID} || groupadd --gid ${GROUP_ID} ${GROUP_NAME}) && \
|
||||
(getent passwd ${USER_ID} || useradd --gid ${GROUP_ID} --uid ${USER_ID} --create-home --no-log-init --shell /bin/bash ${USER_NAME}) && \
|
||||
chown ${USER_NAME}:${GROUP_NAME} /app/tensorrt_llm && \
|
||||
if [ -d /app/tensorrt_llm ]; then chown ${USER_NAME}:${GROUP_NAME} /app/tensorrt_llm; fi && \
|
||||
apt-get update && \
|
||||
apt-get install -y sudo && \
|
||||
adduser ${USER_NAME} sudo && \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user