APK Repos added for Upgrades

Added Repos for beeing able to upgrade from f.e. alpine-linux 3.17 to 3.18 in the future.
Also added `https` instead of `http` on repos
pull/1149/head
nicedevil007 2 years ago committed by GitHub
parent f59d272202
commit 5ee01fa57a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      install/alpine-vaultwarden-v5-install.sh

@ -102,7 +102,7 @@ $STD apk add mc
msg_ok "Installed Dependencies"
msg_info "Installing Vaultwarden"
$STD apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing vaultwarden
$STD apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing vaultwarden
cat <<EOF >/etc/conf.d/vaultwarden
export DATA_FOLDER=/var/lib/vaultwarden
export WEB_VAULT_ENABLED=true
@ -113,6 +113,9 @@ $STD rc-service vaultwarden start
$STD rc-update add vaultwarden default
msg_ok "Installed Vaultwarden"
echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd
echo -e "https://dl-3.alpinelinux.org/alpine/latest-stable/main" > /etc/apk/repositories
echo -e "https://dl-3.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories
echo -e "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
if [[ "${SSH_ROOT}" == "yes" ]]; then
$STD rc-update add sshd
$STD /etc/init.d/sshd start

Loading…
Cancel
Save