Hi,
In this PR: https://github.com/apache/karaf/pull/1206
<https://github.com/apache/karaf/pull/1206>
I have implemented the interpolation.
It means that you can use the following for instance:
export
ORG_APACHE_KARAF_FEATURES_FEATURESREPOSITORIES='${featuresRepositories},mvn:org.apache.karaf.decanter/apache-karaf-decanter/2.5.0/xml/features'
Does it look good to you ?
Regards
JB
> Le 29 sept. 2020 à 18:07, Steinar Bang <[email protected]> a écrit :
>
>>>>>> Jean-Baptiste Onofre <[email protected]>:
>
>> Thoughts ?
>
> Not directly environment variable releated, but one thing I would like
> to see, is a simple way to add one or more feature repositories, and to
> add one or more features to the boot set.
>
> That's what I've done in my karaf based docker images.
>
> I've done it by copying in org.apache.karaf.features.cfg from a karaf
> distro and adding the feature repositories to featuresRepositories and
> the features to featuresBoot.
>
> That works great!
>
> But as you may remember: switching the karaf version and copying in the
> org.apache.karaf.features.cfg from an old karaf version can have strange
> results.
>