mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-11 03:09:25 +00:00
Install ca-certificates in the Debian containers
This commit is contained in:
@@ -239,14 +239,14 @@ RUN apk add --no-cache nss
|
||||
{{/alpine}}
|
||||
{{#debian}}
|
||||
FROM debian:buster-slim
|
||||
RUN apt-get update && apt-get install -y ca-certificates
|
||||
{{#firefox}}
|
||||
# curl tries to load the CA certificates for libnss.
|
||||
# It loads them from /usr/lib/libnssckbi.so and /usr/lib/libnsspem.so,
|
||||
# which are supplied by 'libnss3' and 'nss-plugin-pem' on debian.
|
||||
RUN apt-get update && apt-get install -y libnss3 nss-plugin-pem
|
||||
RUN apt-get install -y libnss3 nss-plugin-pem
|
||||
{{/firefox}}
|
||||
{{/debian}}
|
||||
|
||||
# Copy curl-impersonate from the builder image
|
||||
COPY --from=builder /build/install /usr/local
|
||||
{{#debian}}
|
||||
|
Reference in New Issue
Block a user