feat: build caddy
This commit is contained in:
parent
c4b3ea4303
commit
ed1206136d
2 changed files with 26 additions and 0 deletions
11
hack/install-xcaddy.sh
Normal file
11
hack/install-xcaddy.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
apt update
|
||||
|
||||
apt install -y curl debian-keyring debian-archive-keyring apt-transport-https
|
||||
|
||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/xcaddy/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-xcaddy-archive-keyring.gpg
|
||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/xcaddy/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-xcaddy.list
|
||||
|
||||
apt update
|
||||
apt install xcaddy
|
||||
Reference in a new issue