newrelic-cli icon indicating copy to clipboard operation
newrelic-cli copied to clipboard

Cannot Install Inside a Docker

Open radiantone opened this issue 1 year ago • 1 comments

Description

The newrelic-cli is unable to be installed effectively inside a docker due to snapcraft and requiring sudo (using the script install) which dockers typically don't have because building the docker is already running at root privileges.

Go Version

Provide the output of go version here please

Current behavior

A clear and concise description of what you're currently experiencing.

Expected behavior

A clear and concise description of what you expected to happen.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Run this in any Dockerfile RUN curl -Ls https://download.newrelic.com/install/newrelic-cli/scripts/install.sh | bash

Debug Output (if applicable)

If applicable, add associated log output to help explain the problem.

Additional Context

Add any other context about the problem here.

References or Related Issues

Are there any other related GitHub issues (open or closed) or Pull Requests that should be linked here?

radiantone avatar Sep 05 '23 12:09 radiantone