jib icon indicating copy to clipboard operation
jib copied to clipboard

Able to specify archive URL (tar, zip, tar.gz, ...) for extraDirectories

Open chanseokoh opened this issue 5 years ago • 2 comments

This has been brought up a few times, and recently, I wished I could specify an archive URL for extraDirectories when I tried migrating microservices-demo to use Jib. Optionally being able to specify a checksum as gradle-download-task does.

However, probably extraDirectories will need #1581 to be able to specify an unpack destination for this to be useful. Also, I realized often you want some filtering to be able to selectively copy only what you want.

That brings us back into our previous debates where Jib wants to assimilate functionalities other plugins or facilities that already provide them well (e.g., downloading/copying/unpacking resources into extraDirectories).

chanseokoh avatar Jul 31 '19 14:07 chanseokoh

I think this is outside the scope of this plugin. Instead let this happen elsewhere in the maven build, requiring the programmer to specify extracting the contents under target/ and then let jib include that instead.

tandeday avatar Aug 01 '19 11:08 tandeday

I think it will be usefull. This weekend e need simular issue than you @chanseokoh .. But I don't know how many job time and changes will be necessary.

raizoor avatar Nov 02 '20 16:11 raizoor

It really would be a nice feature.

fragaLY avatar Jun 26 '23 14:06 fragaLY