github.com/replit/upm@v0.0.0-20240423230255-9ce4fc3ea24c/scripts/docker-install-arch.bash (about)

     1  #!/usr/bin/env bash
     2  
     3  set -e
     4  set -o pipefail
     5  
     6  pacman -Sy --needed --noconfirm base-devel pacman-contrib
     7  
     8  # https://www.reddit.com/r/archlinux/comments/6qu4jt/how_to_run_makepkg_in_docker_container_yes_as_root/dl1t5m9/
     9  useradd builder -m
    10  passwd -d builder
    11  printf 'builder ALL=(ALL) ALL\n' | tee -a /etc/sudoers
    12  
    13  rm "$0"