0

As of .netcore 2.1, node is not installed on the .net-images (windows images) .

How would you install node on your docker images? Here are some links, that doesnt seem to work for me, mostly because I get an error when running powershell. I only want to download official (from ms directly) images

https://github.com/a11smiles/docker-nano-nodejs/blob/master/Dockerfile

Can't install node in docker image microsoft/dotnet:2.1-sdk for windows architecture

Cowborg
  • 2,645
  • 3
  • 34
  • 51

1 Answers1

2

You can use the microsoft/aspnetcore-build docker image, since it comes with Node.js. It's from Microsoft and has:

  • Node.js
  • NET Core SDK
  • Bower
  • Gulp
molamk
  • 4,076
  • 1
  • 13
  • 22
  • 1
    Wow, thanks!.. .how did I miss that. Thanks a bunch! – Cowborg Feb 07 '19 at 08:43
  • Oh wait. I take that back... Ive been that path before. the microsoft/aspnetcore-build does not support .net core 2.1+.. back to the drawing board – Cowborg Feb 07 '19 at 08:50
  • can you update your question so it includes __all the details__ you need? Like .net core 2.1+, microsoft image with node.js. Maybe other requirements? Thanks – molamk Feb 07 '19 at 11:05