I am running a dropwizard Java application in a Docker container using the image java:7u79 based on debian/jessie.
java:7u79
debian/jessie
My Java application hand
@h3nrik answer is right but sometimes you really need to use a script for setup the launch. Just use the exec command to do the trick in most of the cases:
#!/bin/sh #--- Preparations exec java -jar ...
See this wonderful blog post