s2i buildconfig can not copy binary asFile to the destination in RHOCP.

Solution In Progress - Updated -

Issue

  • The build configuration already includes the specified path to the binary or war file.
  • However, using this approach does not allow the image to be built with the updated binary.
  • Even if the build configuration has been correctly updated with the relevant information, it is still necessary to use the --from-dir= flag during the start-build process.

Environment

  • Red Hat OpenShift Container Platform 4

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