Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1636

Native binary is not recognized in binary build when target folder is uploaded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.1, 0.10.0
    • Component/s: Image
    • Labels:
      None

      Description

      If user builds a native binary locally and use Kogito binary by uploading whole project target folder then the result image is using jar binary instead of native binary.

      The problem seems to be in [1] where non native binary is detected by checking for *-runner.jar file. However in case of native build both *-runner.jar and *-runner files are available and uploaded as content of target directory.

      [1] https://github.com/kiegroup/kogito-images/blob/master/modules/kogito-s2i-core/added/s2i-core#L61

        Attachments

          Activity

            People

            Assignee:
            filippe.spolti Filippe Spolti
            Reporter:
            ksuta Karel Suta
            Tester:
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: