palletops / lein-uberimage

A Leiningen plugin to generate a docker image that runs a project's uberjar.
Eclipse Public License 1.0
136 stars 10 forks source link

Built image nil #23

Open magnars opened 9 years ago

magnars commented 9 years ago

I'm getting

Using jar file xyz/target/xyz-0.1.0-SNAPSHOT-standalone.jar
Built image nil

as the output from lein uberimage. There are no new images in the docker images list either. No warnings, no exceptions.

I'm using boot2docker with DOCKER_HOST and related vars set correctly.

Docker version 1.5.0, build a8a31ef

How can I help track down this error?

garthy commented 9 years ago

I just hit this because I was using ADD in :instructions instead of using :files in config.

Hmm.; OK it was also due to a file not existing that I specified in :files

magnars commented 9 years ago

I hit this bug with no :uberimage settings in my project.clj at all.