Skip to content

Commit

Permalink
Update ubuntu.Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
matifali authored Sep 20, 2024
1 parent 7ae89fd commit 8d4725a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion images/base/ubuntu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN apt-get update && \
rsync && \
# Install latest Git using their official PPA
add-apt-repository ppa:git-core/ppa && \
apt-get install --yes git \
apt-get install --yes git && \
&& rm -rf /var/lib/apt/lists/*

# Enables Docker starting with systemd
Expand All @@ -61,3 +61,4 @@ RUN userdel -r ubuntu && \
echo "coder ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers.d/nopasswd

USER coder
RUN pipx ensurepath # adds user's bin directory to PATH

0 comments on commit 8d4725a

Please sign in to comment.