On Fri, Mar 15, 2019 at 01:29:31PM +0100, Gerd Hoffmann wrote: > Hi, > > > It would be nice if we had a standard dockerfile that was designated > > as the build environment for each of the ROMs (one docker file might > > be suitable for many of the ROMs in fact). > > If we manage to pull that off I'm wondering whenever there is a point > in continuing shipping the firmware binaries in git in the first place. > > The reason we ship binaries is that building the firmware isn't easy, > due to special requirements, especially for non-native archs, needing > cross compilers for example. > > But that point is moot if we can get fully automated firmware builds > going, by using docker and a distro with cross compilers ...
The main problem would be that we target many different operating systems, but only Linux would be able to run the docker builds. So people on FreeBSD, macOS etc still need firmware binaries, or we would be forcing them to use Linux to build part of their system. There's also possibly complications with non-x86 architctures, as docker images tend to mostly be focused on x86 hosts. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|