From 5ee01fa57a7a1f7d47cf6686d3355a93f9cda296 Mon Sep 17 00:00:00 2001 From: nicedevil007 <17103076+nicedevil007@users.noreply.github.com> Date: Sat, 11 Mar 2023 10:54:34 +0100 Subject: [PATCH] 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 --- install/alpine-vaultwarden-v5-install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install/alpine-vaultwarden-v5-install.sh b/install/alpine-vaultwarden-v5-install.sh index 92e668b4..31247f07 100644 --- a/install/alpine-vaultwarden-v5-install.sh +++ b/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 </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