added update functionalitiy

This commit is contained in:
Sven Vogel 2024-01-11 18:28:19 +01:00
parent 010be113ab
commit 4a98dbe810
1 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,14 @@
#!/bin/sh
export VERSION="v3.19"
echo "setting up repositories..."
rm /etc/apk/repositories
echo "http://dl-3.alpinelinux.org/alpine/$VERSION/main" >> /etc/apk/repositories
echo "http://dl-3.alpinelinux.org/alpine/$VERSION/community" >> /etc/apk/repositories
apk update
apk upgrade
echo "setting up default user..."
adduser docker
adduser docker wheel