fix(docker): add ca-certificates to arm64 base image step 1
Some checks failed
Test / rust-fmt-check (pull_request) Successful in 11s
Test / frontend-typecheck (pull_request) Successful in 1m29s
PR Review Automation / review (pull_request) Successful in 3m49s
Test / rust-tests (pull_request) Failing after 14s
Test / rust-clippy (pull_request) Failing after 18s
Test / frontend-tests (pull_request) Failing after 1m12s

ubuntu:22.04 minimal does not guarantee ca-certificates is present
before the multiarch apt operations in Step 2. curl in Step 3 then
fails with error 77 (CURLE_SSL_CACERT_BADFILE) when fetching the
nodesource setup script over HTTPS.
This commit is contained in:
Shaun Arman 2026-04-12 19:42:08 -05:00
parent 7323c93463
commit 84dd6d57c3

View File

@ -12,7 +12,7 @@ ARG DEBIAN_FRONTEND=noninteractive
# Step 1: amd64 host tools and cross-compiler
RUN apt-get update -qq \
&& apt-get install -y -qq --no-install-recommends \
curl git gcc g++ make patchelf pkg-config perl jq \
ca-certificates curl git gcc g++ make patchelf pkg-config perl jq \
gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
&& rm -rf /var/lib/apt/lists/*