fix: add curl to apk install in caddy-validate step
The step runs `curl -sS -o /tmp/caddy ...` to download the caddy binary but only installs ca-certificates. curl is not in alpine:3.19 base image. Adding curl to the apk add line so the download actually runs. Fixes edge-subpath/caddy-validate exit 127 (command not found) on pipelines targeting fix/issue-1025-3 — see #1025.
This commit is contained in:
parent
6b81e2a322
commit
7763facb11
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ steps:
|
||||||
- name: caddy-validate
|
- name: caddy-validate
|
||||||
image: alpine:3.19
|
image: alpine:3.19
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache ca-certificates
|
- apk add --no-cache ca-certificates curl
|
||||||
- curl -sS -o /tmp/caddy "https://caddyserver.com/api/download?os=linux&arch=amd64"
|
- curl -sS -o /tmp/caddy "https://caddyserver.com/api/download?os=linux&arch=amd64"
|
||||||
- chmod +x /tmp/caddy
|
- chmod +x /tmp/caddy
|
||||||
- /tmp/caddy version
|
- /tmp/caddy version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue