Skip to content

Commit

Permalink
fix bootstrap can't modify gid issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpeng2014 authored and VergilGao committed Apr 4, 2022
1 parent 5e9449d commit 9c83081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ echo "${TZ}" > /etc/timezone
echo "Checking if UID: ${UID} matches user"
usermod -u ${UID} alpha
echo "Checking if GID: ${GID} matches user"
usermod -g ${GID} alpha
groupmod -g ${GID} alpha
echo "Setting umask to ${UMASK}"
umask ${UMASK}

Expand All @@ -162,4 +162,4 @@ chown -R ${UID}:${GID} /data
chown -R ${UID}:${GID} /config
chown -R ${UID}:${GID} /app

su -c "cd /data && /app/Movie_Data_Capture" alpha
su -c "cd /data && /app/Movie_Data_Capture" alpha

0 comments on commit 9c83081

Please sign in to comment.