Hello JB,

sorry to bother you again. I had a look into the AssemblyMojo but I didn't
understand how I could do this :/

br,
Matthias

Am Fr., 1. Okt. 2021 um 19:26 Uhr schrieb Jean-Baptiste Onofré <
j...@nanthrax.net>:

> Hi,
>
> Static distribution does this by default.
>
> I guess you want the same for dynamic distribution.
> The karaf-maven-plugin can prepare it at build time for you (including
> resolution).
>
> Regards
> JB
>
> On 01/10/2021 19:17, Matthias Leinweber wrote:
> > Hello .. again :)
> >
> > is there a possibility to create the data folder with content during the
> > assembly step and not the first startup? A workaround would be starting
> > the application -> stoping -> save container -> publish this image...
> > but somehow not ideal
> >
> > The reason is that karaf writes a lot of data during the startup
> > process. However it would not change the data consumption for one
> > instance and increases image size but if you run dockerized it could
> > save some space if you run multiple instances on the same host.
> >
> > br,
> > Matthias
>

Reply via email to