docker-arch/base/setup.sh

22 lines
435 B
Bash
Raw Normal View History

2022-02-16 13:44:05 +00:00
#!/bin/bash
set -e -u
# Add Medzik AUR repo
pacman-key --init
2022-05-19 19:39:12 +00:00
pacman-key --recv-key 02213A0493457E96
pacman-key --lsign-key 02213A0493457E96
pacman -U --noconfirm 'https://built-aur.medzik.workers.dev/built-mirrorlist.pkg.tar.xz'
2022-02-16 13:44:05 +00:00
# Install packages
PACKAGES=('base')
PACKAGES+=('wget')
PACKAGES+=('curl')
pacman -Syu --noconfirm ${PACKAGES}
# Clean pacman cache
yes | pacman -Scc
# Create `build` user
useradd --create-home build