I am trying to download and install nodejs in a dockerfile. It works when run below i commands in dockerfile -
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - RUN apt-get install -y nodejs
but as per my company policy, i need to use nexus for any third party component and i need to download Nodejs thru nexus. Can someone help me how can i do it.
How can i replace https://deb.nodesource.com/ with https://comoany-nexus.com/repository/ or is there any other way like using APIs or Hosting package to proxy.
Note - nexus version is - version 3.30.1-01 Edition PRO