Add a setup script
This commit is contained in:
parent
3de6e1480d
commit
7f28bdbe56
5 changed files with 24 additions and 1 deletions
|
@ -4,5 +4,7 @@ sudo docker run -i \
|
||||||
-v ./keys:/etc/apk/keys \
|
-v ./keys:/etc/apk/keys \
|
||||||
-v ./cache:/var/cache/distfiles \
|
-v ./cache:/var/cache/distfiles \
|
||||||
-v ./home:/home/buildozer \
|
-v ./home:/home/buildozer \
|
||||||
|
-v ./repositories:/etc/apk/repositories \
|
||||||
|
-v ./world:/etc/apk/world \
|
||||||
-t alpinelinux/build-base:latest \
|
-t alpinelinux/build-base:latest \
|
||||||
/bin/ash
|
/bin/ash
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
PACKAGER="Aaron Fischer <mail@aaron-fischer.net>"
|
PACKAGER="Aaron Fischer <mail@aaron-fischer.net>"
|
||||||
REPODEST="$HOME/packages"
|
REPODEST="$HOME/aports"
|
||||||
USE_COLORS=force
|
USE_COLORS=force
|
||||||
PACKAGER_PRIVKEY="/home/buildozer/.abuild/mail@aaron-fischer.net-656d83af.rsa"
|
PACKAGER_PRIVKEY="/home/buildozer/.abuild/mail@aaron-fischer.net-656d83af.rsa"
|
||||||
|
|
8
home/setup.sh
Executable file
8
home/setup.sh
Executable 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
2
repositories
Normal 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
11
world
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
alpine-baselayout
|
||||||
|
alpine-keys
|
||||||
|
alpine-sdk
|
||||||
|
apk-tools
|
||||||
|
busybox
|
||||||
|
doas
|
||||||
|
libc-utils
|
||||||
|
lua-aports
|
||||||
|
neovim
|
||||||
|
git
|
||||||
|
pigz
|
Loading…
Reference in a new issue