You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yetus.apache.org by Allen Wittenauer <aw...@apache.org> on 2024/05/03 15:49:43 UTC

Switch from ubuntu

	
I’ve been thinking about this for a while but… should we switch from Ubuntu containers? I’m hearing that Ubuntu 24 is _way_ bigger and just pulling the base images seems to confirm that. I know the original idea was that people would use the Yetus container as their base to build with but I don’t think that’s really happening.  

Thoughts?

Re: Switch from ubuntu

Posted by Allen Wittenauer <aw...@effectivemachines.com.INVALID>.

> On May 5, 2024, at 12:25 AM, Nick Dimiduk <nd...@apache.org> wrote:
> 
> There’s definitely a benefit to keeping the image minimal with as few
> dependencies as possible. If Ubuntu is impractical for this purpose then it
> makes sense to evaluate other options. It does seem to me that there are
> other distros that focus on a minimal footprint, but once all of our dev
> dependencies are included, is there really much of a difference?

My #1 concern is that Canonical will force some of our dependencies to be snap loaded in the future.

> Use for pre-commit implies that it’s a build-base. What makes you think
> otherwise?

The projects that I know of that are using Apache Yetus either:

1) Supply their own Dockerfile
2) Use the Github action to just test content and not actually build their end produt

In both cases, the OS being used for the precommit image is irrelevant. 


Re: Switch from ubuntu

Posted by Nick Dimiduk <nd...@apache.org>.
There’s definitely a benefit to keeping the image minimal with as few
dependencies as possible. If Ubuntu is impractical for this purpose then it
makes sense to evaluate other options. It does seem to me that there are
other distros that focus on a minimal footprint, but once all of our dev
dependencies are included, is there really much of a difference?

Use for pre-commit implies that it’s a build-base. What makes you think
otherwise?

-n

On Fri, 3 May 2024 at 17:50, Allen Wittenauer <aw...@apache.org> wrote:

>
> I’ve been thinking about this for a while but… should we switch from
> Ubuntu containers? I’m hearing that Ubuntu 24 is _way_ bigger and just
> pulling the base images seems to confirm that. I know the original idea was
> that people would use the Yetus container as their base to build with but I
> don’t think that’s really happening.
>
> Thoughts?