Skip to content

Commit

Permalink
Disable DownloadUser
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored Dec 16, 2024
1 parent e65efd7 commit 6033265
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions images/archlinux/base-devel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN <<EOT
useradd -m notroot
echo "notroot ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/notroot
sed -i 's|#DisableSandbox|DisableSandbox|' /etc/pacman.conf
sed -i 's|^DownloadUser\s*=|#DownloadUser=|' /etc/pacman.conf
EOT

USER notroot
Expand Down

0 comments on commit 6033265

Please sign in to comment.