feat(certificates): add support for custom CA certificates (#880)

This change facilitates users working behind corporate firewalls or proxies. By allowing the integration of custom CA certificates, users can handle SSL connections that are intercepted by company infrastructure.
This commit is contained in:
Vitor Oliveira 2023-11-01 15:10:14 -04:00 committed by GitHub
parent 5b596ea605
commit 6e1a234d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ RUN apt-get update && \
apt-get install -y ca-certificates curl patch pip cmake && apt-get clean apt-get install -y ca-certificates curl patch pip cmake && apt-get clean
COPY --chmod=644 custom-ca-certs/* /usr/local/share/ca-certificates/
RUN update-ca-certificates
# Use the variables in subsequent instructions # Use the variables in subsequent instructions
RUN echo "Target Architecture: $TARGETARCH" RUN echo "Target Architecture: $TARGETARCH"
RUN echo "Target Variant: $TARGETVARIANT" RUN echo "Target Variant: $TARGETVARIANT"

0
custom-ca-certs/.keep Normal file
View File