Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1838

runOnOpenShift.sh script fails. Wrong path to backend jar is set

    XMLWordPrintable

Details

    • ER3
    • CR2
    • 3
    • 2021 Week 43-45 (from Oct 25), 2021 Week 46-48 (from Nov 15)
    • +

    Description

      Part of the runOnOpenShift

      oc patch bc backend -p '{"spec":{"strategy":{"dockerStrategy":{"dockerfilePath":"src/main/docker/Dockerfile.jvm"}}}}'
      

      But Dockerfile.jvm contains paths that is made by  Quarkus and since Quarkus 2.x the paths changed

      COPY target/lib/* /deployments/lib/ -> COPY target/quarkus-app/lib/* /deployments/lib/COPY target/-runner.jar /deployments/app.jar -> COPY target/quarkus-app/-run.jar /deployments/app.jar

      Attachments

        Activity

          People

            jlocker Jiří Locker
            adupliak Anna Dupliak
            Anna Dupliak Anna Dupliak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: