When I run the executable I get: /home/pi/motion/cgi/bin/cgi: /lib/arm-linux-gnueabihf/libc.so.6: version GLIBC_2.28' not found (required by....`
Why?
The PI is running Raspbian GNU/Linux 9
$ arch
armv6l
I suspect the target is incorrect for the zero, or the libc versions do not match. This is my first attempt at cross compiling and I am out of my depth!
I used the target arm-unknown-linux-musleabi that, I believe, statically links in stdc so it does not get into version hell with dynamically linked libraries.
Sorry but I do not do docker, so I cannot parse your solution!
This is the wrong forum for just how much I hate docker. Deadly loathing.