Hi,

Maybe you can take a look on:

http://blog.nanthrax.net/?p=893

I'm adding distribution/docker on the examples. What you can do is to
use the karaf-maven-plugin to create the assembly + use the verify
plugin to validate.

You can also use the "static" approach as I explained in the blog.

Please, don't hesitate to ping me directly if you wanna chat about that.

Regards
JB

On 25/03/2019 18:10, Björn wrote:
> Hi Karaf team,
> 
> my plan is to ship our custom karaf distribution by docker. What we
> currently do is populating the /system folder with all required bundles and
> declare the desired features as boot features, so that when the docker
> container starts in an offline environment, our applications gets
> bootstrapped.
> 
> I would like to improve this scenario by provisioning "pre-installed
> features" (everything that goes to /data at karaf startup) at build time
> (maven plugin ?) to my distro so that I can detect bundle incompatibilities
> at build und container startups run faster (because of already installed
> features).
> 
> Is this possible without having to start/stop Karaf in my maven build to
> generate temporary data?
> 
> I know, there is a karaf docker feature, but this doesn't seem to help.
> 
> Kind regards, Björn
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to