[lxc-devel] using posix shell instead of bash

Serge Hallyn serge.hallyn at canonical.com
Wed Nov 14 21:51:19 UTC 2012


Quoting Natanael Copa (ncopa at alpinelinux.org):
> On Wed, 14 Nov 2012 09:54:58 -0600
> Serge Hallyn <serge.hallyn at canonical.com> wrote:
>  
> > (Note also that lxc-ls may be rewritten in python.  Is that a problem
> > for your use case?)
> 
> well... The Alpine Linux base system is 6MB excluding kernel. I offer
> to spend a day or so to save 700kb by getting rid of bash.
> 
> and now you want pull in python that is at least 36MB + its
> dependencies... :)

That's what I figured :)  I just wasn't sure if you already ahd python or
not.

This means we'll want to keep a (simple) sh-based lxc-ls, at least
available.

> I'd rather see Lua, which is even smaller than bash. It's not python
> but you get pretty much bang for the bucks.

If you write the lua api bindings, that'd be great :)

thanks,
-serge




More information about the lxc-devel mailing list