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

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

      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

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

                Created:
                Updated:
                Resolved: