summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ship/host_v2.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd/ship/host_v2.go b/cmd/ship/host_v2.go
index dec8b59..6e1850c 100644
--- a/cmd/ship/host_v2.go
+++ b/cmd/ship/host_v2.go
@@ -138,9 +138,10 @@ import /etc/caddy/sites-enabled/*
138func installCaddyV2(client *ssh.Client) error { 138func installCaddyV2(client *ssh.Client) error {
139 commands := []string{ 139 commands := []string{
140 "apt-get update", 140 "apt-get update",
141 "apt-get install -y debian-keyring debian-archive-keyring apt-transport-https curl", 141 "apt-get install -y debian-keyring debian-archive-keyring apt-transport-https curl gnupg",
142 "curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg", 142 "curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' -o /tmp/caddy.gpg",
143 "curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list", 143 "gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg < /tmp/caddy.gpg",
144 "curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' -o /etc/apt/sources.list.d/caddy-stable.list",
144 "apt-get update", 145 "apt-get update",
145 "apt-get install -y caddy", 146 "apt-get install -y caddy",
146 } 147 }