jar file is needed to build image