corporate

Building a docker image for a node.js app fails behind proxy

柔情痞子 提交于 2019-12-01 00:50:22
I have an issue with npm during the docker build. I am behind a corporate proxy and have read about 30 articles (and stackoverflow posts) addressing similar issues. However I was still not able to overcome this. I am able to "npm install" the project and fetch all necessary dependencies outside of the docker build process (but also using the proxy), but not during. What I have tried so far: Using the proxy directly (along with hardcoded auth data) and also over CNTLM. The description below is when using CNTLM. Using the http repository as depicted below with strict_ssl false. npm config set

Building a docker image for a node.js app fails behind proxy

99封情书 提交于 2019-11-30 19:45:44
问题 I have an issue with npm during the docker build. I am behind a corporate proxy and have read about 30 articles (and stackoverflow posts) addressing similar issues. However I was still not able to overcome this. I am able to "npm install" the project and fetch all necessary dependencies outside of the docker build process (but also using the proxy), but not during. What I have tried so far: Using the proxy directly (along with hardcoded auth data) and also over CNTLM. The description below is