Skip to content

Commit 12dc36a

Browse files
build linux on rhel80
1 parent 9f2bd47 commit 12dc36a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/docker/Dockerfile.glibc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:noble AS build
1+
FROM redhat/ubi8 AS build
22
ARG NODE_VERSION=20.19.3
33
# Possible values: s390x, arm64, x64
44
ARG NODE_ARCH
@@ -9,8 +9,8 @@ ENV PATH=$PATH:/nodejs/bin
99
WORKDIR /zstd
1010
COPY . .
1111

12-
RUN apt-get -qq update
13-
RUN apt-get -qq install -y python3 build-essential curl cmake
12+
RUN yum install -y python39 git make gcc-c++ curl cmake
13+
1414
RUN python3 --version
1515

1616
RUN npm run install-zstd

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"install": "prebuild-install --runtime napi || npm run clean-install",
3636
"clean-install": "npm run install-zstd && npm run compile",
3737
"compile": "node-gyp rebuild",
38-
"test": "mocha test/index.test.js",
38+
"test": "mocha test/*.js",
3939
"install-zstd": "bash etc/install-zstd.sh",
4040
"check:eslint": "ESLINT_USE_FLAT_CONFIG=false eslint *ts lib/*.js test/*.js .*.json",
4141
"clang-format": "clang-format --style=file:.clang-format --Werror -i addon/*",

0 commit comments

Comments
 (0)