Commit a33540a
committed
perf: replace installdependencies.sh with explicit apt_install
installdependencies.sh is a shell script that runs apt-get update and
installs 5-6 .NET runtime dependencies. On Ubuntu 22.04 these libraries
are pre-installed (libkrb5-3, zlib1g, libssl3) or trivially available
(liblttng-ust1, libicu71), making the script almost a no-op — but the
apt-get update + fallback chain still adds 15-60s of overhead.
Pin the exact packages directly in the image layer via apt_install.
The image gets a clean dep declaration and removes the cold-start
bottleneck. Per the actions/runner source, the runner's .NET runtime
links against these libraries at execution time; they're identical to
what installdependencies.sh would have installed.1 parent ac4b0bb commit a33540a
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
105 | | - | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
0 commit comments