You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
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
file
the binaryExpected 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 binariesThe text was updated successfully, but these errors were encountered: