Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Oguz Ozturk <[email protected]>
  • Loading branch information
oguzkaganozt committed Sep 26, 2024
1 parent eae0b75 commit f374ddd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker/etc/ros_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ GROUP_NAME=${LOCAL_GROUP}
if [[ -z $USER_ID || -z $USER_NAME || -z $GROUP_ID || -z $GROUP_NAME ]]; then
source "/opt/ros/$ROS_DISTRO/setup.bash"
source /opt/autoware/setup.bash
source /opt/simulator/setup.bash
exec "$@"
else
echo "Starting with user: $USER_NAME >> UID $USER_ID, GID: $GROUP_ID"
Expand All @@ -27,7 +26,6 @@ else
# hadolint ignore=SC1090
source "/opt/ros/$ROS_DISTRO/setup.bash"
source /opt/autoware/setup.bash
source /opt/simulator/setup.bash
# Execute the command as the user
exec /usr/sbin/gosu "$USER_NAME" "$@"
fi

0 comments on commit f374ddd

Please sign in to comment.