This message was deleted.
# community-support
s
This message was deleted.
v
If you say "doesn't support incremental builds", does that mean it declares neither inputs nor outputs?
Then declare the relevant files as inputs and add an
outputs.upToDateWhen { true }
.
e
More specifically, I'm using
com.palantir.docker
plugin to build an image, and running into this issue
From the issue:
Looks like the answer is no based on the fact that the project doesn't use the @Input annotation anywhere, most importantly on the getters for all the parameters:
Oh, the same comment there left a hint to a plugin that actually does the job properly.. 🙂
v
Yes, was about to suggest using Bens plugin too. That's what I use personally also.
But other than that, my advice also stands. Declare all inputs to the task as inputs and tell that the outputs are up to date.
But actually this is flaky, as the image on the daemon could be gone or changed
Bens plugin saves the checksum and actually compares it to the state in the docker daemon