Strip down image

by removing non-required tech from base image

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-08-04 15:29:13 +02:00
parent 01c61e7a62
commit bc61b8a340
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -1,18 +1,13 @@
#!/bin/bash
set -euxo pipefail
build_packages=()
build_packages=(
tar
)
install_packages=(
curl
git
go
just
make
openssh
nodejs
npm
sudo
tar
)
pacman -Sy --noconfirm "${build_packages[@]}" "${install_packages[@]}"