Skip to content

fix(build/docker): Bump node from 10.x to 12.x #3808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
carlosdagos committed Aug 17, 2021
commit 094433e0d7a4e1cfeced0909c239a8942067b602
2 changes: 1 addition & 1 deletion scripts/docker/centos/Dockerfile
Original file line number Diff line number Diff line change
@@ -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