File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ ENV PATH=$PATH:/nodejs/bin
1010WORKDIR /mongodb-client-encryption
1111COPY . .
1212
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++
1414
1515RUN npm run install:libmongocrypt
1616
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