Category : composer-php

We are using Composer version 2.0.11 2021-02-24 14:57:23 to install packages in a GitLab CI environment on docker boxes. The aim is to have a global composer across all containers to save bandwith. The compose cache in the containers is set to /cache Our /etc/gitlab-runner/config.toml looks like this: concurrent = 6 check_interval = 0 [session_server] ..

Read more

I am trying to run a composer command when my application builds like so: php-fpm: build: . restart: ‘always’ depends_on: – ‘mysql’ networks: – ‘laravel’ volumes: – ‘code:/var/www/html’ command: /bin/bash -c "curl -sS https://getcomposer.org/installer | php — –install-dir=/usr/local/bin –filename=composer && composer install –no-dev" However, when I check the logs I see: All settings correct for ..

Read more

I am getting the error below when I ran docker-compose run –rm composer install: PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 134217736 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSet.php on line 84 Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 134217736 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSet.php on line 84 Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors ..

Read more