File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:noble AS build
1
+ FROM redhat/ubi8 AS build
2
2
3
3
# Possible values: s390x, arm64, x64
4
4
ARG NODE_ARCH
@@ -9,7 +9,9 @@ ENV PATH=$PATH:/nodejs/bin
9
9
WORKDIR /kerberos
10
10
COPY . .
11
11
12
- RUN apt-get -qq update && apt-get -qq install -y python3 build-essential libkrb5-dev && ldd --version
12
+ RUN yum install -y python39 git make gcc-c++ krb5-devel
13
+
14
+ RUN if [[ $(ldd --version) =~ "2.28" ]]; then echo "using glibc 2.28"; else echo "glibc version is not 2.28. bailing..." && exit 1; fi
13
15
14
16
RUN node .github/scripts/build.mjs
15
17
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ npm install kerberos
59
59
Below are the platforms that are available as prebuilds on each github release.
60
60
` prebuild-install ` downloads these automatically depending on the platform you are running npm install on.
61
61
62
- - Linux GLIBC 2.23 or later
62
+ - Linux GLIBC 2.28 or later
63
63
- s390x
64
64
- arm64
65
65
- x64
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ npm install kerberos
59
59
Below are the platforms that are available as prebuilds on each github release.
60
60
`prebuild-install` downloads these automatically depending on the platform you are running npm install on.
61
61
62
- - Linux GLIBC 2.23 or later
62
+ - Linux GLIBC 2.28 or later
63
63
- s390x
64
64
- arm64
65
65
- x64
You can’t perform that action at this time.
0 commit comments