Commit 8a34d48
Developer
fix: preinstall provision tools in debian-based agent image
The provision service (scripts/e2e-provision.sh) ran `apk add
python3 openssl curl jq` on startup, but after the agent base moved
from Alpine to debian:slim there is no apk, so the script exited 127
with the error swallowed by the redirect.
Preinstall the tools via apt in the agent image (provision shares
this image) and make the script's package-install step conditional on
which package manager is present.1 parent aa2fb6e commit 8a34d48
2 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | | - | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
| |||
0 commit comments