fix: permission error on pulling repo
This commit is contained in:
1 parent
d25f4e4e71
commit
1a201e5518
1 file changed
-8
@@ -36,14 +36,6 @@ echo "==> Installing prerequisites"
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y debian-keyring debian-archive-keyring apt-transport-https curl
|
apt-get install -y debian-keyring debian-archive-keyring apt-transport-https curl
|
||||||
|
|
||||||
echo "==> Adding Caddy's official GPG key"
|
|
||||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
|
|
||||||
chmod o+r /usr/share/keyrings/caddy-stable-archive-keyring.gpg
|
|
||||||
|
|
||||||
echo "==> Adding Caddy apt repository"
|
|
||||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list >/dev/null
|
|
||||||
chmod o+r /etc/apt/sources.list.d/caddy-stable.list
|
|
||||||
|
|
||||||
echo "==> Installing Caddy"
|
echo "==> Installing Caddy"
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y caddy
|
apt-get install -y caddy
|
||||||
|
|||||||
Reference in new issue
Block a user