install node using yum

This commit is contained in:
Naveenraj M
2020-03-29 02:13:08 +05:30
parent 9c3198f971
commit bf3025842c

View File

@ -5,10 +5,10 @@ FROM centos:7
COPY . . COPY . .
# Installing tools needed for rpmbuild # Installing tools needed for rpmbuild
RUN yum install -y gcc rpm-build rpm-devel rpmlint make bash coreutils rpmdevtools which RUN yum install -y gcc rpm-build rpm-devel rpmlint make bash coreutils rpmdevtools which nodejs
# LOG: check contents # LOG: check contents
RUN pwd && ls -la RUN pwd && ls -la && node -v
# Creting rpmbuild directory tree # Creting rpmbuild directory tree
RUN rpmdev-setuptree RUN rpmdev-setuptree