Create a file, manifest-attributes.txt, and add new properties, e.g.
Class-Path: additional.jar
Then
jar umf manifest-attributes.txt test.jarIf the JAR file is in a container, then copy manifest-attributes.txt into a volume.
docker exec my-container jar umf /bindmount/manifest-attributes.txt test.jar