Prebuilt binaries for linux were excluded from #804 due to concerns around the glibc version: the runner is ubuntu 22.04 which is glibc 2.35. However node-pty should be compatible with a much lower version (dependency is only libutil linked). Node.js officially supports glibc >= 2.28
Since the build runner can't be changed a sysroot can be used to compile against a suitable version of glibc.
See the sysroots used here: https://github.com/microsoft/vscode/blob/main/build/linux/debian/install-sysroot.ts
cc: