forked from nodegit/nodegit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add linux-x64-musl, linux-arm-libc, linux-arm-musl builds (#7)
Add three new supported build targets: - linux-x64-musl - linux-arm-libc - linux-arm-musl To support the alternate libcs, I've added `--tag-libc` to all prebuildify invocations. [docs here](https://www.npmjs.com/package/prebuildify#options)
- Loading branch information
Showing
6 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM node:20.11.1-alpine3.19 | ||
|
||
RUN apk add build-base git krb5-dev libgit2-dev libssh-dev pkgconfig python3 tzdata | ||
|
||
ADD . /app | ||
WORKDIR /app | ||
|
||
RUN npm ci && \ | ||
npx prebuildify --napi --strip --tag-libc -t "$(node --version | tr -d 'v')" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM node:20.11.1-bullseye | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG ${LC_ALL} | ||
|
||
RUN apt-get update -y && \ | ||
apt-get install -y software-properties-common git build-essential clang libssl-dev libkrb5-dev libc++-dev wget python3 | ||
|
||
ADD . /app | ||
WORKDIR /app | ||
|
||
RUN npm ci && \ | ||
npx prebuildify --napi --strip --tag-libc -t "$(node --version | tr -d 'v')" |