mirror of https://github.com/tteck/Proxmox.git
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`
This commit is contained in:
parent
41109f0a8d
commit
a733af434b
|
@ -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…
Reference in New Issue