new-relic-agent
new-relic-agent copied to clipboard
Plans for adding support for Alpine Linux?
We're using Nginx in Alpine Linux (AWS ECS Fargate), and are interested in employing this agent.
The RPM package appears to build, after installing the alpine-sdk
and rpm
packages. However, attempt to install the built package results in failing dependencies:
/new-relic-agent # rpm -i build_output/nginx-nr-agent-2.0.1-1.ngx.noarch.rpm
error: Failed dependencies:
/bin/bash is needed by nginx-nr-agent-2.0.1-1.ngx.noarch
/bin/sh is needed by nginx-nr-agent-2.0.1-1.ngx.noarch
/usr/bin/env is needed by nginx-nr-agent-2.0.1-1.ngx.noarch
chkconfig is needed by nginx-nr-agent-2.0.1-1.ngx.noarch
initscripts >= 8.36 is needed by nginx-nr-agent-2.0.1-1.ngx.noarch
python >= 2.6 is needed by nginx-nr-agent-2.0.1-1.ngx.noarch
python-daemon is needed by nginx-nr-agent-2.0.1-1.ngx.noarch
Which brings up questions like:
- Why does the init script expect
bash
to be present? - Why isn't Python 3 supported (2.7 EOL is coming, and presently has just over 10 months left)?
- In Alpine Linux,
sh
,env
, andinitscripts
are all part ofbusybox
…
Hi @roens
We are not actively developing or supporting the new relic agent now. - See: https://github.com/nginxinc/new-relic-agent#support
However, if you’d like to submit a pull request, we will take a look and merge it if it looks ok.
Hey @Dean-Coakley,
Thanks for the response and info! I'll look into what I might manage to do with it.
The workaround which worked for me is:
- Install all needed deps separately
- Install agent in --nodeps mode