Would it make sense to provide you with some of these files for you to test?
No need, because I have some too. Until these are fixed, there is no point.
I have OPi plus 2e and some problems with network connections. Sometimes it takes more than minute to connect by wire Sometimes it also drop connection at random moments and i must wait for next connection. I'm trying to compile your code on ubuntu bash on windows, but without success yet.
I'm using OPi plus 2e during testing and I have never had any wired network issues. Did you check settings? sorry, I can't be more helpful here. Regarding image building - you should try to build it in virtual machine. Bash on windows is not supported method.