Skip to content

Commit

Permalink
fix(isaac_sim_ws): Remove Ubuntu 24.04 default user
Browse files Browse the repository at this point in the history
I believe this issue is encountered by @YuZhong-Chen in Jun 16th.
  • Loading branch information
j3soon committed Aug 22, 2024
1 parent 46fbc6c commit c5c6e19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions isaac_sim_ws/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
# ENTRYPOINT ["/ros_entrypoint.sh"]
# CMD ["bash"]

# Delete default `ubuntu` user in Ubuntu 24.04 image and above to avoid UID conflict
# Ref: https://askubuntu.com/a/1515958
RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu

# Install sudo and create a user with sudo privileges
# Ref: https://stackoverflow.com/a/65434659
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
Expand Down

0 comments on commit c5c6e19

Please sign in to comment.