From 094433e0d7a4e1cfeced0909c239a8942067b602 Mon Sep 17 00:00:00 2001 From: Carlos D Date: Tue, 17 Aug 2021 11:22:29 +1000 Subject: [PATCH] fix(build/docker): Bump node from 10.x to 12.x Following the documented way to build from source using docker fails because the version of Node used is deprecated. Bumping to the currently supported version 12.x solves the problem and allows building from source --- scripts/docker/centos/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docker/centos/Dockerfile b/scripts/docker/centos/Dockerfile index 8545fe383c..bacebc0f54 100644 --- a/scripts/docker/centos/Dockerfile +++ b/scripts/docker/centos/Dockerfile @@ -8,7 +8,7 @@ RUN yum -y install llvm-toolset-7.0 RUN scl enable llvm-toolset-7.0 'clang -v' RUN yum -y install gcc-c++ make sudo -RUN curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash - +RUN curl -sL https://rpm.nodesource.com/setup_12.x | sudo -E bash - RUN yum -y install nodejs npm coreutils grep tar sed gawk diffutils autoconf unzip python3 RUN yum -y install file fuse fuse-devel wget bzip2-devel libXt-devel libSM-devel libICE-devel ncurses-devel libacl-devel libxrandr-devel libXinerama-devel libXcursor-devel libXi-devel mesa-libGL-devel mesa-libGLU-devel gtk3-devel perl-Digest-SHA bzip2 m4 patch which cmake3 git libxkbfile-devel