diff --git a/docker/images/n8n/Dockerfile b/docker/images/n8n/Dockerfile index 84016b5cbf..6eb6b56447 100644 --- a/docker/images/n8n/Dockerfile +++ b/docker/images/n8n/Dockerfile @@ -67,7 +67,6 @@ RUN \ # Install npm 11.4.1 to fix the vulnerable cross-spawn dependency RUN npm install -g npm@11.4.1 -RUN apk --purge del apk-tools ENV SHELL /bin/sh USER node diff --git a/package.json b/package.json index 5ddb48aee8..be789add3f 100644 --- a/package.json +++ b/package.json @@ -84,6 +84,7 @@ "chokidar": "^4.0.1", "esbuild": "^0.24.0", "multer": "^2.0.1", + "prebuild-install": "7.1.3", "pug": "^3.0.3", "semver": "^7.5.4", "tar-fs": "2.1.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4221a4ea76..11ad45a523 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -179,6 +179,7 @@ overrides: chokidar: ^4.0.1 esbuild: ^0.24.0 multer: ^2.0.1 + prebuild-install: 7.1.3 pug: ^3.0.3 semver: ^7.5.4 tar-fs: 2.1.3 @@ -8591,10 +8592,6 @@ packages: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} - detect-libc@2.0.1: - resolution: {integrity: sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==} - engines: {node: '>=8'} - detect-libc@2.0.4: resolution: {integrity: sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==} engines: {node: '>=8'} @@ -11414,8 +11411,8 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - napi-build-utils@1.0.2: - resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} + napi-build-utils@2.0.0: + resolution: {integrity: sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==} native-duplexpair@1.0.0: resolution: {integrity: sha512-E7QQoM+3jvNtlmyfqRZ0/U75VFgCls+fSkbml2MpgWkWyz3ox8Y58gNhfuziuQYGNNQAbFZJQck55LHCnCK6CA==} @@ -12171,8 +12168,8 @@ packages: resolution: {integrity: sha512-ofNX3TPfZPlWErVc2EDk66cIrfp9EXeKBsXFxf8ISXK57b10ANwRnKAlf5rQjxjRKqcUWmV0d3ZfOeVeYracMw==} engines: {node: '>=15.0.0'} - prebuild-install@7.1.1: - resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==} + prebuild-install@7.1.3: + resolution: {integrity: sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==} engines: {node: '>=10'} hasBin: true @@ -22062,8 +22059,6 @@ snapshots: dequal@2.0.3: {} - detect-libc@2.0.1: {} - detect-libc@2.0.4: {} detect-newline@3.1.0: {} @@ -25765,7 +25760,7 @@ snapshots: nanoid@3.3.8: {} - napi-build-utils@1.0.2: {} + napi-build-utils@2.0.0: {} native-duplexpair@1.0.0: {} @@ -26530,14 +26525,14 @@ snapshots: transitivePeerDependencies: - debug - prebuild-install@7.1.1: + prebuild-install@7.1.3: dependencies: - detect-libc: 2.0.1 + detect-libc: 2.0.4 expand-template: 2.0.3 github-from-package: 0.0.0 minimist: 1.2.8 mkdirp-classic: 0.5.3 - napi-build-utils: 1.0.2 + napi-build-utils: 2.0.0 node-abi: 3.54.0 pump: 3.0.0 rc: 1.2.8 @@ -27671,7 +27666,7 @@ snapshots: dependencies: bindings: 1.5.0 node-addon-api: 7.1.0 - prebuild-install: 7.1.1 + prebuild-install: 7.1.3 tar: 6.2.1 optionalDependencies: node-gyp: 8.4.1