Error when building RH SSO image using Source-to-Image (S2I) and the 's2i-custom-build/extensions/preconfigure.sh' file

Solution Verified - Updated -

Issue

When building RH SSO from a git repository, we receive the following error:

sed: -e expression #1, char 58: unknown option to `s'

As we can see the sed is present in our git repository in s2i-custom-build/extensions/preconfigure.sh.

Environment

  • Red Hat Single Sign-On (RH SSO)
    • 7.X
  • Red Hat OpenShift Container Platform (OCP)
    • 3.11
    • 4.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