GoogleContainerTools/jib ? reverse-engineered prompt

Reverse engineered prompt

I want to build a tool for Java apps that can package an application into a Docker or OCI image without needing a Docker daemon.

It should work nicely with Maven and Gradle, and make images fast and repeatable by separating the app into layers so only changed code gets rebuilt. I’d like it to support pushing to a container registry, using a sensible default base image, and also let users choose their own base image if they want. If it makes sense, include a simple command line way to build images too.

Please set up the project so the core image building logic is shared, and the Maven and Gradle integrations sit on top of that. Add a few example apps or quickstart style demos for a basic Java app, Spring Boot, and a multi module project, so it’s easy to see it working. If you need to look up current docs or best practices, go ahead and check online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab