karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofre ...@nanthrax.net>
Subject Re: [HEADS UP] Docker friendly runtime with env variables compliant configuration
Date Wed, 30 Sep 2020 08:46:01 GMT

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 ?


> Le 29 sept. 2020 à 18:07, Steinar Bang <sb@dod.no> a écrit :
>>>>>> Jean-Baptiste Onofre <jb@nanthrax.net>:
>> 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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message