From 9e83a24a1dc6afdfba8924809e82b90c13d8eec5 Mon Sep 17 00:00:00 2001 From: Sally Young Date: Tue, 31 Mar 2026 10:11:36 +0100 Subject: [PATCH] Disable npm lifecycle scripts --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4a9f3d6..fc15373 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ #p Testing image used for GitLab CI FROM php:8.3-apache AS base +# Disbale npm lifecycle scripts. +ENV npm_config_ignore_scripts=true + # Install Node.js 24 (includes npm) # Clean up Yarn repository to prevent GPG key expiration errors # Yarn's GPG key (23E7166788B63E1E) has expired, causing apt-get failures if repository is present