From 086af489e63709c9181e6ba79ca91adbbc466af5 Mon Sep 17 00:00:00 2001 From: bailey Date: Mon, 6 Oct 2025 10:04:43 -0600 Subject: [PATCH 1/2] use glibc 2.28 --- .github/docker/Dockerfile.glibc | 6 ++++-- README.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/docker/Dockerfile.glibc b/.github/docker/Dockerfile.glibc index 88d711e..0a183f3 100644 --- a/.github/docker/Dockerfile.glibc +++ b/.github/docker/Dockerfile.glibc @@ -1,4 +1,4 @@ -FROM ubuntu:noble AS build +FROM redhat/ubi8 AS build # Possible values: s390x, arm64, x64 ARG NODE_ARCH @@ -9,7 +9,9 @@ ENV PATH=$PATH:/nodejs/bin WORKDIR /kerberos COPY . . -RUN apt-get -qq update && apt-get -qq install -y python3 build-essential libkrb5-dev && ldd --version +RUN yum install -y python39 git make gcc-c++ krb5-devel + +RUN if [[ $(ldd --version) =~ "2.28" ]]; then echo "using glibc 2.28"; else echo "glibc version is not 2.28. bailing..." && exit 1; fi RUN node .github/scripts/build.mjs diff --git a/README.md b/README.md index f57a431..740f776 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ npm install kerberos Below are the platforms that are available as prebuilds on each github release. `prebuild-install` downloads these automatically depending on the platform you are running npm install on. -- Linux GLIBC 2.23 or later +- Linux GLIBC 2.28 or later - s390x - arm64 - x64 From bf6b7a341682dc638101963baeaf5145f516b50c Mon Sep 17 00:00:00 2001 From: bailey Date: Mon, 6 Oct 2025 10:06:21 -0600 Subject: [PATCH 2/2] generate docs --- etc/README.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/README.hbs b/etc/README.hbs index f86b313..7e5ce8c 100644 --- a/etc/README.hbs +++ b/etc/README.hbs @@ -59,7 +59,7 @@ npm install kerberos Below are the platforms that are available as prebuilds on each github release. `prebuild-install` downloads these automatically depending on the platform you are running npm install on. -- Linux GLIBC 2.23 or later +- Linux GLIBC 2.28 or later - s390x - arm64 - x64