How to use proxies when using Build Configurations in OpenShift?

Solution Verified - Updated -

Issue

  • Can't build a nodejs or any image in an OpenShift cluster behind a proxy server;
  • Even if specifying HTTP_PROXY and HTTPS_PROXY environment variables in Build Configuration, some images don't honour them and the build fails.

Environment

  • Red Hat OpenShift Container Platform (OCP) 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content