--without-snapshot for alpine builds as a temporary workaround
This commit is contained in:
parent
9f5b975965
commit
d4b89a9511
@ -61,6 +61,8 @@ async function compileOnUnix (nodeVersion, targetArch) {
|
||||
// against packaged apps, hence v8_inspector is useless
|
||||
const major = nodeVersion.match(/^v?(\d+)/)[1] | 0;
|
||||
if (major >= 6) args.push('--without-inspector');
|
||||
// https://github.com/mhart/alpine-node/blob/master/Dockerfile#L33
|
||||
if (hostPlatform === 'alpine') args.push('--without-snapshot');
|
||||
// TODO same for windows?
|
||||
await spawn('./configure', args, { cwd: nodePath });
|
||||
const make = hostPlatform === 'freebsd' ? 'gmake' : 'make';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user