mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 01:25:53 -04:00
- Download rustup to a file then execute, so a failed curl is not masked by sh's exit code under /bin/sh (no pipefail). - Add --no-install-recommends and apt-list cleanup to both apt stages (stage 0 drops from 156 to 116 packages, 1144 MB to 605 MB). - Add --retry 3 --retry-delay 2 to all 4 external downloads. - Use git clone --depth 1 (28 MB to 9.6 MB working tree). - Drop -v from tar for minisign and zig extractions (log noise only). Final shipped image is unchanged; the wins live in the builder stage and build-cache footprint.
3.1 KiB
3.1 KiB