Skip to content

Commit

Permalink
ubuntu-distro: Update Dockerfile
Browse files Browse the repository at this point in the history
- Provide ownership of /home/tisdk to user "tisdk" so as to avoid permission issue.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
  • Loading branch information
cshilwant committed Mar 16, 2024
1 parent a5fde6a commit 5fea065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ubuntu-distro/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; echo "dash dash/sh boolean false" | d
adduser --disabled-password --uid 786 --gid 786 --gecos "" --home /home/tisdk --shell /bin/bash tisdk && \
# Add tisdk to sudoers & make it passwordless
adduser tisdk sudo && usermod -aG sudo tisdk && echo "tisdk ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
sudo chown -R tisdk /home/tisdk && \
export LC_ALL="en_US.UTF-8" && export LC_CTYPE="en_US.UTF-8" && export LC_NUMERIC="en_US.UTF-8"

# Set default user as tisdk
Expand Down

0 comments on commit 5fea065

Please sign in to comment.