After sinking the third evening with no results into this bug it is seemingly getting frustrating. "hadolint" doesn't build as a non-static executable and as such finding the libraries for static linking at build time is required.