Overriding Builder Image Scripts by "scripts: URL" in buildConfig doesn't work under proxy

Solution In Progress - Updated -

Issue

  • The documentation gives an example of overriding the builder image scripts using a URL:
scripts: "http://somehost.com/scripts_directory"
  • However, when I tested this feature under the proxy, the build always fialed.
$ oc logs test-eap-proxy-5-build
...
E0324 10:51:24.745585       1 util.go:91] /bin/sh: https:/raw.example.com/foo/bar/s2i-scripts/assemble: No such file or directory
F0324 10:51:24.996552       1 builder.go:185] Error: build error: non-zero (13) exit code from registry.access.redhat.com/jboss-eap-6/eap64-openshift:latest

Environment

  • OpenShift Enterprise
    • v3.1.1.6-21-gcd70c35

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.