Skip to content

f2face/node-centos6

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

Node.js 12+ binaries for CentOS 6

The official Node.js Linux x64 binaries don't support CentOS 6 and earlier; they're now built on CentOS 7 and depend on a more recent glibc.

More details here: nodejs/node#30077

We can successfully compile on CentOS 6 by using scl enable python27 devtoolset-7 and setting CPPFLAGS=-D__STDC_FORMAT_MACROS and LDFLAGS=-lrt.

This repository semi-automates these builds using GitHub Actions, and publishes the resulting binaries as attachments to releases.

As currently written, new builds are created by editing the NODE_VERSION value in .github/workflows/ci.yml, and pushing that change to the master branch. If a release of that version doesn't already exist, then a build and publish will be attempted. (In the future, it would be nice if this workflow ran on a scheduled basis and just built whatever new Node.js it found.)

About

Node.js 12+ binaries for CentOS 6

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 42.5%
  • JavaScript 39.6%
  • Dockerfile 17.9%