Quantcast
Channel: Dockerfile: add npm to an existing docker image - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by Spartacvs1 for Dockerfile: add npm to an existing docker image

I had the same problem. I did try the @kevin-kopf, but after that, theyarn -v was giving the following error:ERROR: There are no scenarios; must have at least one.Finally, I did fix my problem like...

View Article



Answer by Kevin Kopf for Dockerfile: add npm to an existing docker image

Using multiple FROM directives is not a feature, it's a bug. It's proposed to remove it and you should avoid using it at all costs!If you need npm in your jenkins, just install it there. It's based on...

View Article

Answer by Marcin for Dockerfile: add npm to an existing docker image

I went into the same problem some time ago. In my case it turned out that it is better to use a throw-away containers with proper volumes instead of using a installed node/npm in the container with...

View Article

Dockerfile: add npm to an existing docker image

Having a Jenkins Docker image, I would like to add the complete 'npm' environment to that image. So after building the Dockerfile I have an image with both Jenkins and the 'npm' environment. The...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images