Add a setup script

This commit is contained in:
Aaron Fischer 2023-12-04 09:31:50 +01:00 committed by Aaron Fischer
parent 3de6e1480d
commit 7f28bdbe56
5 changed files with 24 additions and 1 deletions

View File

@ -4,5 +4,7 @@ sudo docker run -i \
-v ./keys:/etc/apk/keys \
-v ./cache:/var/cache/distfiles \
-v ./home:/home/buildozer \
-v ./repositories:/etc/apk/repositories \
-v ./world:/etc/apk/world \
-t alpinelinux/build-base:latest \
/bin/ash

View File

@ -1,4 +1,4 @@
PACKAGER="Aaron Fischer <mail@aaron-fischer.net>"
REPODEST="$HOME/packages"
REPODEST="$HOME/aports"
USE_COLORS=force
PACKAGER_PRIVKEY="/home/buildozer/.abuild/mail@aaron-fischer.net-656d83af.rsa"

8
home/setup.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/ash
# Install needed packages from /etc/apk/world
doas apk -U --allow-untrusted upgrade
# Clone/Fetch the aports tree
cd aports || (git clone https://gitlab.alpinelinux.org/alpine/aports && cd aports)
git fetch

2
repositories Normal file
View File

@ -0,0 +1,2 @@
https://dl-cdn.alpinelinux.org/alpine/edge/main
https://dl-cdn.alpinelinux.org/alpine/edge/community

11
world Normal file
View File

@ -0,0 +1,11 @@
alpine-baselayout
alpine-keys
alpine-sdk
apk-tools
busybox
doas
libc-utils
lua-aports
neovim
git
pigz