Depending upon what kind of Java application is being used, the target directory could have a large number of JAR files. For example, for the sample application at https://github.com/arun-gupta/microservices-greeting, the list of generated JARs is:
The command will try to execute each and every JAR file which is not the intent of the application. The command generation needs to be more context-sensitive and generate.
Identified during hacking with @michelleN at #KubeCon
The command in the Dockerfile generated for a Java project is:
Depending upon what kind of Java application is being used, the
target
directory could have a large number of JAR files. For example, for the sample application at https://github.com/arun-gupta/microservices-greeting, the list of generated JARs is:The command will try to execute each and every JAR file which is not the intent of the application. The command generation needs to be more context-sensitive and generate.
Identified during hacking with @michelleN at #KubeCon