From af54bcb64ea70be5136084c301c275cfc233d7f1 Mon Sep 17 00:00:00 2001 From: Marius Ghita Date: Wed, 8 Jan 2025 18:38:30 +0200 Subject: [PATCH] fix(devcontainer): composer memory limit #0000 Prevent composer install from failing on larger projects where a simple composer install invocation might use more than the default php memory configuration. --- templates/.devcontainer/postCreate.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/.devcontainer/postCreate.sh.j2 b/templates/.devcontainer/postCreate.sh.j2 index 33ac012..72d3a15 100755 --- a/templates/.devcontainer/postCreate.sh.j2 +++ b/templates/.devcontainer/postCreate.sh.j2 @@ -14,7 +14,7 @@ composer config --global --auth http-basic.repo.packagist.com \ "${GITHUB_USER:-$GITHUB_USER_ON_HOST}" "${PACKAGIST_TOKEN:-$PACKAGIST_TOKEN_ON_HOST}" {% endif %} -composer install +COMPOSER_MEMORY_LIMIT=-1 composer install {% endif %} {% if repo.type.startswith('nodejs-') %}