Skip to content

Commit

Permalink
fix(arch-dev): use sudo on cleanup temporarily
Browse files Browse the repository at this point in the history
To avoid permission denied from telemetry package.

Ref: golang/go#68946
  • Loading branch information
xatier committed Aug 31, 2024
1 parent 8dc8dd1 commit e7c1f29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ RUN makepkg -sri --needed --noconfirm
# cleanup
WORKDIR /home/xatier
RUN sudo paccache -rfk0 && \
rm -rf /home/xatier/yay && \
rm -rf /home/xatier/.cache/yay
sudo rm -rf /home/xatier/yay && \
sudo rm -rf /home/xatier/.cache/yay

ENV EDITOR vim

Expand Down

0 comments on commit e7c1f29

Please sign in to comment.