79171336

Date: 2024-11-08 19:35:44
Score: 2
Natty:
Report link

As the file is inside /liquibase/lib , you don't need the --classpath parameter. Try removing it.

Why? you are copying the file inside liquibase/lib directory:

RUN cp /node-app/run-custom-command.jar /liquibase/lib/run-custom-command.jar

Liquibase automatically loads everything inside this directory to the classpath, you don't need to use classpath if the file is there. After that you are pointing to it again using --classpath (and I believe it should be --classpath=./lib/run-custom-command.jar ), so it may be causing some classloading issues as the file is being loaded twice ?

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Lautert