using curl instead of wget

This commit is contained in:
Naveenraj M
2020-03-29 02:36:09 +05:30
parent 7767a34f59
commit 6f212a49a8

View File

@ -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