Skip to content

Commit

Permalink
Fix a triton_user id check due to verkada user
Browse files Browse the repository at this point in the history
  • Loading branch information
babakbehzad committed Mar 21, 2024
1 parent cd37327 commit 60d7f04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1113,8 +1113,8 @@ def dockerfile_prepare_container_linux(argmap, backends, enable_gpu,
if ! id -u $TRITON_SERVER_USER > /dev/null 2>&1 ; then \
useradd $TRITON_SERVER_USER; \
fi && \
[ `id -u $TRITON_SERVER_USER` -eq 1000 ] && \
[ `id -g $TRITON_SERVER_USER` -eq 1000 ]
[ `id -u $TRITON_SERVER_USER` -eq 1001 ] && \
[ `id -g $TRITON_SERVER_USER` -eq 1001 ]
# Ensure apt-get won't prompt for selecting options
ENV DEBIAN_FRONTEND=noninteractive
Expand Down

0 comments on commit 60d7f04

Please sign in to comment.