summarylogtreecommitdiffstats
path: root/dockerscript.sh
blob: d2feee8ab9ff9a2569a318b023b0cc010d828c3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

set -e

pacman -Sy --noconfirm
pacman -S git --noconfirm
echo 'yay ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers
useradd -d /home/yay -g users -m -s /bin/bash yay
cd /tmp
sudo -u yay git clone https://aur.archlinux.org/yay-bin.git
cd /tmp/yay-bin
sudo -u yay makepkg -si --noconfirm
sudo -u yay yay -S --noconfirm ferdium-bin
cp /home/yay/.cache/yay/ferdium-bin/ferdium-bin-*.pkg.tar.zst /tmp/output