mirror of
https://github.com/naveenrajm7/rpmbuild.git
synced 2025-07-12 04:13:50 +00:00
using curl instead of wget
This commit is contained in:
@ -15,7 +15,7 @@ RUN rpmdev-setuptree
|
|||||||
|
|
||||||
# Setting up node to run our JS file
|
# Setting up node to run our JS file
|
||||||
# Download Node Linux binary
|
# Download Node Linux binary
|
||||||
RUN cd ~ && wget https://nodejs.org/dist/v12.16.1/node-v12.16.1-linux-x64.tar.xz
|
RUN cd ~ && curl -O https://nodejs.org/dist/v12.16.1/node-v12.16.1-linux-x64.tar.xz
|
||||||
|
|
||||||
# Extract and install
|
# Extract and install
|
||||||
RUN sudo tar --strip-components 1 -xzvf node-v* -C /usr/local
|
RUN sudo tar --strip-components 1 -xzvf node-v* -C /usr/local
|
||||||
|
Reference in New Issue
Block a user