ADD JAR adds a JAR file to the list of resources. The added JAR file can be listed using LIST JAR.
ADD JAR file_name
- The name of the JAR file to be added. It could be either on a local file system or a distributed file system.
ADD JAR /tmp/test.jar; ADD JAR "/path/to/some.jar"; ADD JAR '/some/other.jar'; ADD JAR "/path with space/abc.jar";