newrelic / nr1-workshop

Self-paced training workshop for the NR1 CLI/SDK
Apache License 2.0
86 stars 68 forks source link

NR1 Dockerfile #83

Open shreyasgune opened 4 years ago

shreyasgune commented 4 years ago

I'm trying to create a docker image that has NR1 dependencies.

Dockerfile (so far)

FROM node:8.17.0-alpine3.9
MAINTAINER Senator Plaprotien "Sheev@itstreasonthen.com"

RUN apk add curl bash
RUN curl -s https://cli.nr-ext.net/installer.sh | bash

The error I get:

Step 3/4 : RUN apk add curl bash
 ---> Using cache
 ---> e5f26cb8105d
Step 4/4 : RUN curl -s https://cli.nr-ext.net/installer.sh | bash
 ---> Running in 19dd82846bca
Your linux distribution is not supported yet.
The command '/bin/sh -c curl -s https://cli.nr-ext.net/installer.sh | bash' returned a non-zero code: 1

Just wanted to get an insight. Am I doing something wrong or is alpine just not supported yet. Cheers!

devfreddy commented 4 years ago

@shreyasgune The installer script only addresses apt-get and yum currently. We have Develop an NR1 app in NR1 using VS Code Containers on our public roadmap. I suspect we'll encounter a similar issue depending on our container choices.

I'll ping someone and get more information, but to my knowledge you'd need to use a distro that supports yum or apt-get.