Describe the bug
The make docker command to build using docker and the Dockerfile produces builds that link to musl.
This make the binaries not working when using them with waypoint on a system that does not have musl as libc.
Steps to Reproduce
- Download the linux build that is produced by this build in a plugin, for example cloudfoundry
file the binary
○ file waypoint-plugin-cloudfoundry
waypoint-plugin-cloudfoundry: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, Go BuildID=6AVyHUccoYweMVdpx9Ry/VkjT6-P2icj3imeXHyBd/XqYh8sw7MfBJRfNvR5iX/87-ju-GqBf5OD4Rr1iYh, not stripped
Expected behavior
The produced binaries should not dynamically link to alpine's libc
Additional context
I solved it on scaleway's side by adding CGO_ENABLED=0 when building binaries