rules_java
rules_java copied to clipboard
Provide a way of packaging separate layers into Java container after deprecation of rules_docker
(It feels awkward to ask this question here, but it is a follow-up of this suggestion over at rules_oci )
As the maintainers have decided that the rules_oci repository should remain language agnostic, it is quite unclear where to go with questions for language-specific containers, so following @alexeagle 's advice I am trying over here.
I would like to migrate from rules_docker to rules_oci, but the functionality to package depsets into separate layers has not been provided by the new rules (_jar_app_layer_impl ).
Would it be possible to provide similar functionality in a .defs
file in this repository, and could someone help me out in porting it?
Related logic from rules_java
(once these parts are actually migrated to Starlark) that was replicated in jar_app_layer
was handling runfiles and native libraries.
Hi @SanjayVas thanks for your reply, do I understand correctly that you are planning to migrate the functionality to rules_java?
do I understand correctly that you are planning to migrate the functionality to rules_java?
No. I'm not a contributor to rules_java. I'm just sharing some context for why this likely needs to be solved in rules_java instead of downstream.