Skip to content

Commit 4c5c493

Browse files
committed
fix build
1 parent d527249 commit 4c5c493

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ RUN apt update && \
1010
apt --yes install python3 python3-pip python3-dev git g++ make && \
1111
ln -s /usr/bin/python3 /usr/bin/python
1212

13+
RUN npm install @mapbox/node-pre-gyp -g
1314
RUN npm install --ignore-scripts
1415
RUN npx node-pre-gyp install --build-from-source
1516
RUN npm run test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"pretest": "node test/support/createdb.js",
6666
"test": "mocha -R spec --timeout 480000",
6767
"pack": "node-pre-gyp package",
68-
"build-linux": "docker buildx build -f build.dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 --output type=tar,dest=out.tar ."
68+
"build-linux": "docker buildx build -f build.dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 --output type=tar,dest=D:/DockerCache/out.tar ."
6969
},
7070
"license": "BSD-3-Clause",
7171
"keywords": [

0 commit comments

Comments
 (0)