Re: Is the karaf 4.4.4 docker image arm only?

2024-01-09 Thread Steinar Bang
> Jean-Baptiste Onofré :

> yes, the docker image is arm based. I'm adding multi-arch image
> support (to have x86 images as well).
> I will upload new images soon.

Great! Thanks, JB!



Re: Is the karaf 4.4.4 docker image arm only?

2024-01-09 Thread Steinar Bang
> Francois Papon :

> It means that your docker image is not immutable and after starting
> the Karaf instance, it will download the updated dependencies features
> at startup right?

Correct! :-)

> It's not the common design for docker image and I think it's better to
> have a custom Karaf distribution and build a new docker image after
> each dependencies update.

I'm quite sure all docker enthusiasts would think like you do. :-)

Me I just fell in love with the simplicity of the idea, which is similar
to the elegance of installing from maven with features in regular karaf
(which is the main feature, that made me fall in love with karaf in the
first place. That, and karaf feature installs taking the hard part out
of finding and loading the right bundles).

But... these docker images needs an occasional update when the world
changes (such as the OSGi version and possibly the JVM version).



Re: Is the karaf 4.4.4 docker image arm only?

2024-01-09 Thread Jean-Baptiste Onofré
Hi,

yes, the docker image is arm based. I'm adding multi-arch image
support (to have x86 images as well).
I will upload new images soon.

Regards
JB

On Mon, Jan 8, 2024 at 7:36 PM Steinar Bang  wrote:
>
> > Jean-Baptiste Onofré :
>
> > Hi Steinar
> > Let me check about the image type.
>
> Did you find out anything?
>
> The docker-maven-plugin I've been using (the one created by spotify),
> was abandoned a couple of years back:
>  https://github.com/spotify/docker-maven-plugin
>
> So I've been trying to to use a docker-maven-plugin that is maintained:
>  https://github.com/fabric8io/docker-maven-plugin
>
> I've succeeded in building a sonar-collector docker image using the new
> docker-maven-plugin, but I end up with an arm64 image here as well (even
> though I'm building and running on amd64):
>  
> https://github.com/fabric8io/docker-maven-plugin/issues/1739#issuecomment-1881260436
>