Bump Nodejs to v10

This commit is contained in:
Manuel Gutierrez
2020-01-23 15:21:31 +01:00
parent dcc0634b95
commit 2e228eada4
+1 -1
View File
@@ -17,7 +17,7 @@ COPY config/wazuh.repo /etc/yum.repos.d/wazuh.repo
RUN yum --enablerepo=updates clean metadata && \
yum -y install openssl && yum -y install wazuh-manager-${WAZUH_VERSION} -y && \
curl --silent --location https://rpm.nodesource.com/setup_8.x | bash - && \
curl --silent --location https://rpm.nodesource.com/setup_10.x | bash - && \
yum -y install nodejs && yum -y install wazuh-api-${WAZUH_VERSION} && \
sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo && \
yum clean all && rm -rf /var/cache/yum