mirror of
https://github.com/maxkratz/edgedb-vm.git
synced 2024-09-16 11:28:26 +00:00
Changes EdgeDB server provisioning to the apt-repo
This commit is contained in:
parent
65b083bf00
commit
ab29948f6a
1 changed files with 12 additions and 1 deletions
13
prov.sh
13
prov.sh
|
@ -30,7 +30,18 @@ sudo apt-get upgrade -y
|
|||
# Packages for building a new kernel
|
||||
sudo apt-get install -y gcc make perl curl
|
||||
|
||||
sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.edgedb.com | sh
|
||||
# https://www.edgedb.com/docs/guides/deployment/bare_metal#debian-ubuntu-lts
|
||||
sudo mkdir -p /usr/local/share/keyrings && \
|
||||
sudo curl --proto '=https' --tlsv1.2 -sSf \
|
||||
-o /usr/local/share/keyrings/edgedb-keyring.gpg \
|
||||
https://packages.edgedb.com/keys/edgedb-keyring.gpg
|
||||
|
||||
echo deb [signed-by=/usr/local/share/keyrings/edgedb-keyring.gpg] \
|
||||
https://packages.edgedb.com/apt \
|
||||
$(grep "VERSION_CODENAME=" /etc/os-release | cut -d= -f2) main \
|
||||
| sudo tee /etc/apt/sources.list.d/edgedb.list
|
||||
|
||||
sudo apt-get update && sudo apt-get install edgedb-3
|
||||
|
||||
log "Clean-up"
|
||||
sudo apt-get remove -yq \
|
||||
|
|
Loading…
Reference in a new issue