File tree Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Expand file tree Collapse file tree 3 files changed +24
-3
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
ARG NODE_VERSION=20.19.0
4
4
# Possible values: s390x, arm64, x64
@@ -10,7 +10,7 @@ ENV PATH=$PATH:/nodejs/bin
10
10
WORKDIR /mongodb-client-encryption
11
11
COPY . .
12
12
13
- RUN apt-get -qq update && apt-get -qq install -y python3 build-essential git && ldd --version
13
+ RUN yum install -y python39 git make gcc-c++
14
14
15
15
RUN npm run install:libmongocrypt
16
16
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ Only suitable for local development:
90
90
Below are the platforms that are available as prebuilds on each github release.
91
91
` prebuild-install ` downloads these automatically depending on the platform you are running npm install on.
92
92
93
- - Linux GLIBC 2.23 or later
93
+ - Linux GLIBC 2.28 or later
94
94
- s390x
95
95
- arm64
96
96
- x64
Original file line number Diff line number Diff line change
1
+ import { expect } from 'chai' ;
2
+ import { execSync } from 'child_process' ;
3
+
4
+ describe ( 'glibc requirements' , function ( ) {
5
+ let lddOutput : string ;
6
+ beforeEach ( function ( ) {
7
+ if ( process . platform !== 'linux' ) return this . skip ( ) ;
8
+
9
+ try {
10
+ lddOutput = execSync ( 'ldd --version' , { encoding : 'utf8' } ) ;
11
+ } catch {
12
+ this . skip ( ) ;
13
+ }
14
+
15
+ return ;
16
+ } ) ;
17
+
18
+ it ( 'glibc is 2.28' , function ( ) {
19
+ expect ( lddOutput ) . to . contain ( '2.28' ) ;
20
+ } ) ;
21
+ } ) ;
You can’t perform that action at this time.
0 commit comments