Building the jenkins image on rpi4 takes > 1h
When changing debian-buster-jenkins, rebuilding it on the rpi4s takes a very long time. This is annoying when making changes to the infrastructure, but also keeps the rpis busy so doing gerrit verifications etc. will take longer. It also leads to the SD cards wearing out faster than necessary.
A lot of the dependencies installed in this image are not used on rpi4, for example everything needed for building manuals.In fact we only build these projects on the rpis:
I'll create a minimal debian-buster-jenkins-arm image that will install just what we need to build these.
- % Done changed from 10 to 90
laforge wrote in #note-3:
I'm sure it would build faster there. In theory we could do that to build it for arm, and then push it into the docker registry... but still, there are so many things in the image that we don't use on the raspberry pis, I think it would make more sense to use a minimal image instead. I only saw this message after I finished the patches:
we might try to build that image on the lx2? Would be interesting to see the comparison in speed
and then decide what to do about it.