Closed as not planned
Description
I am attempting to build yq behind a firewall that intercepts SSL/TLS. I have customized Dockerfile.dev a bit, adding the replacement SSL/TLS certificates to the OpenSSL system trust store, and verified they are trusted, but the step that runs the container fails. I'm guessing "go mod" is not respecting the openssl settings of the system. How do I change that?
[2/2] STEP 4/8: COPY scripts/devtools.sh /opt/devtools.sh
--> 421047e6a97b
[2/2] STEP 5/8: RUN set -e -x && /opt/devtools.sh
+ /opt/devtools.sh
+ go mod download golang.org/x/tools@latest
go: module golang.org/x/tools: Get "https://proxy.golang.org/golang.org/x/tools/@v/list": tls: failed to verify certificate: x509: certificate signed by unknown authority
Error: building at STEP "RUN set -e -x && /opt/devtools.sh": while running runtime: exit status 1
make: *** [Makefile:47: tmp/dev_image_id] Error 1
Metadata
Metadata
Assignees
Labels
No labels