Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chanseokoh opened this issue Jul 31, 2019 · 3 comments
Open

Comments

@chanseokoh
Copy link
Member

chanseokoh commented Jul 31, 2019

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 implement functionalities (i.e., re-invent the wheel) that are already well supported by Gradle or other popular plugins (e.g., downloading/copying/unpacking resources into extraDirectories).

@tandeday
Copy link

tandeday commented Aug 1, 2019

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.

@raizoor
Copy link

raizoor commented Nov 2, 2020

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.

@fragaLY
Copy link

fragaLY commented Jun 26, 2023

It really would be a nice feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants