Updates to APK Repositories

Created a new `/etc/apk/repositories` that doesn't use a fixed version number for alpine linux. We are able to update the LXC's OS with this instead of just the packages.
I also added the testing repo to the file to be able to update vaultwarden in the future with a simple `apk update && apk upgrade`
pull/1150/head
nicedevil007 2 years ago committed by GitHub
parent 41109f0a8d
commit a733af434b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      install/alpine-vaultwarden-v5-install.sh

@ -101,8 +101,14 @@ $STD apk add nano
$STD apk add mc
msg_ok "Installed Dependencies"
msg_info "Adjusting Repositories"
echo -e "https://dl-cdn.alpinelinux.org/alpine/latest-stable/main" > /etc/apk/repositories
echo -e "https://dl-cdn.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories
echo -e "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
msg_ok "Adjusted Repositories"
msg_info "Installing Vaultwarden"
$STD apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing vaultwarden
$STD apk add --no-cache vaultwarden
cat <<EOF >/etc/conf.d/vaultwarden
export DATA_FOLDER=/var/lib/vaultwarden
export WEB_VAULT_ENABLED=true

Loading…
Cancel
Save