fix(docker): add ca-certificates to arm64 base image step 1
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:
parent
a86ae81161
commit
461959fbca
@ -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/*
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user