I am using pants behind a transparent corporate pr...
# general
r
I am using pants behind a transparent corporate proxy that does SSL inspection. I’m trying to build a docker image but I get the following error: “tls: failed to verify certificate: x509: certificate signed by unknown authority”. Is there a way to provide a CA certificate to the docker-container driver? I was able to solve this issue for Python packages by setting GLOBAL.ca_certs_path in the pants.toml. Thanks!
c
How does one do this with plain Docker? Would
--docker-build-arg
work? https://www.pantsbuild.org/2.23/reference/subsystems/docker