buildkite-agent-metrics icon indicating copy to clipboard operation
buildkite-agent-metrics copied to clipboard

Release binary linux-amd64 not working in alpine:3.15

Open pfiaux opened this issue 3 years ago • 1 comments
trafficstars

Trying to build a docker image using the release binaries from github, I tried with buildkite-agent-metrics-linux-amd64 but on alpine (3.15) when I try to run the file I get an error:

$ ./buildkite-agent-metrics
bash: ./buildkite-agent-metrics: No such file or directory

Quickly tried with an ubuntu image it works fine, am I missing something? I find this strange since the Dockerfile example builds for an alpine image.

pfiaux avatar Feb 17 '22 09:02 pfiaux

Looks like the pipeline doesn't use the static flag, that's probably why: https://github.com/buildkite/buildkite-agent-metrics/blob/master/.buildkite/pipeline.yml#L15

pfiaux avatar Feb 18 '22 14:02 pfiaux