From bcd6c226f6e418a8f72d2dff1414f4a2e904ae51 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 4 Jun 2023 13:30:24 +0000 Subject: [PATCH] ci: document why node prebuilds are built in a container --- .github/workflows/node-package.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/node-package.yml b/.github/workflows/node-package.yml index 50256ec04..41c4ff25d 100644 --- a/.github/workflows/node-package.yml +++ b/.github/workflows/node-package.yml @@ -64,6 +64,9 @@ jobs: prebuild-linux: name: Prebuild Linux runs-on: ubuntu-latest + + # Build Linux prebuilds inside a container with old glibc for backwards compatibility. + # Debian 10 contained glibc 2.28 at the time of the writing (2023-06-04): https://packages.debian.org/buster/libc6 container: debian:10 steps: # Working directory is owned by 1001:1001 by default.