This message was deleted.
# community-support
s
This message was deleted.
c
not sure if that helps but you could use https://github.com/GoogleContainerTools/jib
v
If you have a very simple standard case and do not need much customization at least.
But other than that, the question is probably greatly misplaced in a Gradle community. That seems to be some Spring tool, so you might get better help from a Spring community.
If your question just is how to run the code without building a jar, just register a
JavaExec
task that is properly configured to your needs.
p
The question is about having build output in directory structure that is optimal for container image builds.
I guess there’s no such functionality in plain Gradle?
c
Jib does exactly that
p
I know jib and actually considered using it also, but I’m trying to achieve same with Dockerfile.
v
You can probably do any output structure you want and consider optimal for container image builds. But Gradle itself does not know of containerisation. And even if it would, there are different opinions on what would be "optimal".
p
What documentation should I refer to regarding build output structure customization?
v
Maybe just make a
Sync
task that produces the structure you want and that you can then use as Docker context