From 65780a375706be72c711846dfa7169e201d6e3a2 Mon Sep 17 00:00:00 2001 From: Uladzimir Tsykun Date: Tue, 9 Jan 2024 21:39:28 +0100 Subject: [PATCH] Make docker builds faster --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 699bf2fb..ca053700 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ RUN set -eux; \ oniguruma-dev \ ; \ \ + export MAKEFLAGS="-j$(($(nproc) < 4 ? $(nproc) : 4))"; \ export CFLAGS="$PHP_CFLAGS" \ CPPFLAGS="$PHP_CPPFLAGS" \ LDFLAGS="$PHP_LDFLAGS"; \