From efb33e716ba325736be52ec9b228b6f6e1da1ccf Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Tue, 15 Oct 2024 16:15:39 +0100 Subject: [PATCH] ansible: fix cross compile container for Node.js 18 (#3933) In https://github.com/nodejs/build/pull/3930 I dropped `python3.12-pip` from the cross compile container because we do not need to install `tap2junit`. Unfortunately that means that `python3.12-setuptools` wasn't installed and that is still required for the version of gyp-next in Node.js 18. Refs: https://github.com/nodejs/build/pull/3930 --- ansible/roles/docker/templates/rhel8_arm_cross.Dockerfile.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/docker/templates/rhel8_arm_cross.Dockerfile.j2 b/ansible/roles/docker/templates/rhel8_arm_cross.Dockerfile.j2 index 420cea07c..c6bf15fe7 100644 --- a/ansible/roles/docker/templates/rhel8_arm_cross.Dockerfile.j2 +++ b/ansible/roles/docker/templates/rhel8_arm_cross.Dockerfile.j2 @@ -28,6 +28,7 @@ RUN dnf install --disableplugin=subscription-manager -y \ libstdc++-devel.i686 \ make \ python3.12 \ + python3.12-setuptools \ procps-ng \ xz \ && dnf --disableplugin=subscription-manager clean all