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

Cannot Install Inside a Docker #1509

Open
radiantone opened this issue Sep 5, 2023 · 1 comment
Open

Cannot Install Inside a Docker #1509

radiantone opened this issue Sep 5, 2023 · 1 comment

Comments

@radiantone
Copy link

radiantone commented Sep 5, 2023

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?

@seemantk
Copy link

seemantk commented Mar 7, 2024

hi @radiantone thank you for filing this. Have you tried the docker image?

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

No branches or pull requests

2 participants