GoogleContainerTools / GoogleContainerTools/jib

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

Open
#1,877 3 comments 0 reactions 0 assignees View on GitHub
area/jib-gradle-plugin area/jib-maven-plugin enhancement priority:p3
Dominant language
Java
Stars
14.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/chanseokoh/microservices-demo/blob/67ed7d65f76237eefb565baf51966b30640950f3/src/adservice/build.gradle#L85-L108) to use Jib. Optionally being able to specify a checksum as [gradle-download-task](https://github.com/michel-kraemer/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`).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.