You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build(base-image): make apt install resilient to transient mirror failures
ubuntu:24.04 ships no apt retry config (default is 0 retries), so a single
dropped connection to the Ubuntu mirrors fails the whole base-image build.
Recent flake: appsmith-ee run 34570186320 (IPv6 unreachable + IPv4 timeouts
to archive.ubuntu.com), and a same-SHA run failed then passed on 2026-09-05.
- Add a build-scoped apt drop-in (Acquire::Retries 3 + http/https Timeout 30s),
removed in the same layer's cleanup so the shipped image is unchanged.
- Add --retry/--retry-connrefused/--connect-timeout/--retry-max-time to the
MongoDB and PostgreSQL GPG-key curls; add --fail to the PostgreSQL one so an
HTTP error body is never piped into apt-key.
Reduces flake frequency for transient mirror blips; does not rescue a sustained
egress outage. CE-only: apt block is byte-identical CE/EE, sync carries to EE.
Linear: APP-15960
# Note: MongoDB 7.0 does not publish apt packages for Ubuntu 24.04 (noble) yet, so we use the jammy (22.04) packages — same pattern used for the previous 6.0 install.
0 commit comments