Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apm-server binary is not statically linked #12670

Closed
kruskall opened this issue Feb 16, 2024 · 1 comment · Fixed by #12757
Closed

apm-server binary is not statically linked #12670

kruskall opened this issue Feb 16, 2024 · 1 comment · Fixed by #12757
Assignees
Labels

Comments

@kruskall
Copy link
Member

kruskall commented Feb 16, 2024

APM Server version (apm-server version): 772db00

Description of the problem including expected versus actual behavior:

Building apm-server produces a dynamically linked binary. This makes it impossible to run in minimal environment (distroless, alpine, chainguard, etc.).

Steps to reproduce:

  1. make apm-server
  2. file apm-server

Provide logs (if relevant):

@kruskall
Copy link
Member Author

fwiw removing -buildmode=pie produces a statically linked binary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant