mirror of
https://github.com/naveenrajm7/rpmbuild.git
synced 2025-07-12 12:13:51 +00:00
remove sudo
This commit is contained in:
@ -18,7 +18,7 @@ RUN rpmdev-setuptree
|
|||||||
RUN cd ~ && curl -O 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 tar --strip-components 1 -xzvf node-v* -C /usr/local
|
||||||
|
|
||||||
# Verify node version
|
# Verify node version
|
||||||
RUN node --version
|
RUN node --version
|
||||||
|
Reference in New Issue
Block a user