CodelyTV / php-ddd-example

🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6

Home Page:https://pro.codely.tv/library/ddd-en-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error on `make build`

aosunamf opened this issue · comments

Cuando ejecuto el comando make build me aparece este errror:

docker: invalid reference format: repository name must be lowercase.
See 'docker run --help'.
Makefile:29: fallo en las instrucciones para el objetivo 'composer-install'
make: *** [composer-install] Error 125

Tengo composeer php y docker instalado:

Composer version 2.0.12 2021-04-01 10:14:59
PHP 8.0.5
Docker version 20.10.6
docker-compose version 1.29.1

Hi!

I've just tried out cloning the repo and performing a make build in order to try to reproduce the issue, but it seems to be working :S

make build output:

make build
Unable to find image 'composer:2' locally
2: Pulling from library/composer
595b0fe564bb: Already exists
4bea792edc0a: Already exists
e31bbfcb5005: Already exists
22841fe152c1: Already exists
c8da97498d17: Pull complete
84dfc07e749f: Pull complete
4801c345fb51: Pull complete
c11fdd40e4c7: Pull complete
20683d9e5211: Pull complete
183161e2139c: Pull complete
5cd2415a6312: Pull complete
239912e22936: Pull complete
1f1297ecb09a: Pull complete
383c80c29645: Pull complete
b996f558c4a2: Pull complete
Digest: sha256:f5b199884a4f5ea0554f482d8efc490d5b4ca17597f90ba13f7bf7ae62c08cd5
Status: Downloaded newer image for composer:2
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 135 installs, 0 updates, 0 removals
  - Downloading composer/package-versions-deprecated (1.8.2)
  - Downloading behat/gherkin (v4.6.2)
  - Downloading symfony/polyfill-mbstring (v1.20.0)
  - Downloading symfony/polyfill-ctype (v1.20.0)
  - Downloading symfony/dom-crawler (v4.4.16)
  - Downloading symfony/browser-kit (v4.4.16)
  - Downloading symfony/css-selector (v5.2.0-RC1)
  - Downloading behat/mink (v1.8.1)
  - Downloading behat/mink-browserkit-driver (v1.3.4)
  - Downloading behat/transliterator (v1.3.0)
  - Downloading symfony/polyfill-php80 (v1.20.0)
  - Downloading symfony/polyfill-intl-normalizer (v1.20.0)
  - Downloading symfony/polyfill-intl-grapheme (v1.20.0)
  - Downloading symfony/string (v5.2.0-RC1)
  - Downloading psr/container (1.0.0)
  - Downloading symfony/service-contracts (v2.2.0)
  - Downloading symfony/polyfill-php73 (v1.20.0)
  - Downloading symfony/console (v5.2.0-RC1)
  - Downloading doctrine/event-manager (1.1.1)
  - Downloading doctrine/collections (1.6.7)
  - Downloading doctrine/cache (1.10.2)
  - Downloading doctrine/lexer (1.2.1)
  - Downloading doctrine/annotations (1.11.1)
  - Downloading doctrine/persistence (2.1.0)
  - Downloading doctrine/instantiator (1.3.1)
  - Downloading doctrine/inflector (1.4.3)
  - Downloading doctrine/dbal (2.12.0)
  - Downloading doctrine/common (3.0.2)
  - Downloading doctrine/orm (2.7.4)
  - Downloading psr/log (1.1.3)
  - Downloading react/promise (v2.8.0)
  - Downloading ezimuel/guzzlestreams (3.0.1)
  - Downloading ezimuel/ringphp (1.1.2)
  - Downloading elasticsearch/elasticsearch (v7.9.1)
  - Downloading symfony/polyfill-apcu (v1.20.0)
  - Downloading symfony/polyfill-php72 (v1.20.0)
  - Downloading symfony/polyfill-intl-idn (v1.20.0)
  - Downloading ralouphie/getallheaders (3.0.3)
  - Downloading psr/http-message (1.0.1)
  - Downloading guzzlehttp/psr7 (1.7.0)
  - Downloading guzzlehttp/promises (1.4.0)
  - Downloading guzzlehttp/guzzle (6.5.5)
  - Downloading endclothing/prometheus_client_php (1.0.1)
  - Downloading symfony/filesystem (v5.2.0-RC1)
  - Downloading symfony/deprecation-contracts (v2.2.0)
  - Downloading symfony/config (v5.2.0-RC1)
  - Downloading symfony/yaml (v5.2.0-RC1)
  - Downloading symfony/translation-contracts (v2.3.0)
  - Downloading symfony/translation (v5.2.0-RC1)
  - Downloading psr/event-dispatcher (1.0.0)
  - Downloading symfony/event-dispatcher-contracts (v2.2.0)
  - Downloading symfony/event-dispatcher (v5.2.0-RC1)
  - Downloading symfony/dependency-injection (v5.2.0-RC1)
  - Downloading behat/behat (v3.8.1)
  - Downloading friends-of-behat/mink-extension (v2.4.0)
  - Downloading webimpress/safe-writer (2.1.0)
  - Downloading laminas/laminas-zendframework-bridge (1.1.1)
  - Downloading laminas/laminas-eventmanager (3.3.0)
  - Downloading laminas/laminas-code (3.4.1)
  - Downloading ocramius/proxy-manager (2.8.1)
  - Downloading symfony/proxy-manager-bridge (v5.2.0-RC1)
  - Downloading symfony/http-foundation (v5.2.0-RC1)
  - Downloading symfony/http-client-contracts (v2.3.1)
  - Downloading symfony/var-dumper (v5.2.0-RC1)
  - Downloading symfony/error-handler (v5.2.0-RC1)
  - Downloading symfony/http-kernel (v5.2.0-RC1)
  - Downloading friends-of-behat/symfony-extension (v2.1.0)
  - Downloading fzaninotto/faker (v1.9.1)
  - Downloading lambdish/phunctional (v2.1.0)
  - Downloading hamcrest/hamcrest-php (v2.0.1)
  - Downloading mockery/mockery (1.4.2)
  - Downloading monolog/monolog (2.1.1)
  - Downloading webmozart/assert (1.9.1)
  - Downloading phpdocumentor/reflection-common (2.2.0)
  - Downloading phpdocumentor/type-resolver (1.4.0)
  - Downloading phpdocumentor/reflection-docblock (5.2.2)
  - Downloading sebastian/version (3.0.2)
  - Downloading sebastian/type (2.3.1)
  - Downloading sebastian/resource-operations (3.0.3)
  - Downloading sebastian/recursion-context (4.0.4)
  - Downloading sebastian/object-reflector (2.0.4)
  - Downloading sebastian/object-enumerator (4.0.4)
  - Downloading sebastian/global-state (5.0.2)
  - Downloading sebastian/exporter (4.0.3)
  - Downloading sebastian/environment (5.1.3)
  - Downloading sebastian/diff (4.0.4)
  - Downloading sebastian/comparator (4.0.6)
  - Downloading sebastian/code-unit (1.0.8)
  - Downloading sebastian/cli-parser (1.0.1)
  - Downloading phpunit/php-timer (5.0.3)
  - Downloading phpunit/php-text-template (2.0.4)
  - Downloading phpunit/php-invoker (3.1.1)
  - Downloading phpunit/php-file-iterator (3.0.5)
  - Downloading theseer/tokenizer (1.2.0)
  - Downloading nikic/php-parser (v4.10.2)
  - Downloading sebastian/lines-of-code (1.0.2)
  - Downloading sebastian/complexity (2.0.2)
  - Downloading sebastian/code-unit-reverse-lookup (2.0.3)
  - Downloading phpunit/php-code-coverage (9.2.3)
  - Downloading phpspec/prophecy (1.12.1)
  - Downloading phar-io/version (3.0.2)
  - Downloading phar-io/manifest (2.0.1)
  - Downloading myclabs/deep-copy (1.10.1)
  - Downloading phpunit/phpunit (9.4.3)
  - Downloading paragonie/random_compat (v9.99.99)
  - Downloading ramsey/uuid (3.9.3)
  - Downloading symfony/messenger (v5.2.0-RC1)
  - Downloading symfony/redis-messenger (v5.2.0-RC1)
  - Downloading symfony/doctrine-messenger (v5.2.0-RC1)
  - Downloading symfony/amqp-messenger (v5.2.0-RC1)
  - Downloading psr/cache (1.0.1)
  - Downloading symfony/cache-contracts (v2.2.0)
  - Downloading symfony/debug (v4.4.16)
  - Downloading symfony/dotenv (v5.2.0-RC1)
  - Downloading symfony/routing (v5.2.0-RC1)
  - Downloading symfony/finder (v5.2.0-RC1)
  - Downloading symfony/var-exporter (v5.2.0-RC1)
  - Downloading symfony/cache (v5.2.0-RC1)
  - Downloading symfony/framework-bundle (v5.2.0-RC1)
  - Downloading twig/twig (v3.1.1)
  - Downloading symfony/twig-bridge (v5.2.0-RC1)
  - Downloading symfony/twig-bundle (v5.2.0-RC1)
  - Downloading symfony/validator (v5.2.0-RC1)
  - Downloading webmozart/path-util (2.3.0)
  - Downloading openlss/lib-array2xml (1.0.0)
  - Downloading netresearch/jsonmapper (v2.1.0)
  - Downloading felixfbecker/language-server-protocol (v1.5.0)
  - Downloading felixfbecker/advanced-json-rpc (v3.1.1)
  - Downloading dnoegel/php-xdg-base-dir (v0.1.1)
  - Downloading composer/xdebug-handler (1.4.5)
  - Downloading composer/semver (3.2.4)
  - Downloading amphp/amp (v2.5.1)
  - Downloading amphp/byte-stream (v1.8.0)
  - Downloading vimeo/psalm (4.1.1)
  - Installing composer/package-versions-deprecated (1.8.2): Extracting archive
  - Installing behat/gherkin (v4.6.2): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.20.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.20.0): Extracting archive
  - Installing symfony/dom-crawler (v4.4.16): Extracting archive
  - Installing symfony/browser-kit (v4.4.16): Extracting archive
  - Installing symfony/css-selector (v5.2.0-RC1): Extracting archive
  - Installing behat/mink (v1.8.1): Extracting archive
  - Installing behat/mink-browserkit-driver (v1.3.4): Extracting archive
  - Installing behat/transliterator (v1.3.0): Extracting archive
  - Installing symfony/polyfill-php80 (v1.20.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.20.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.20.0): Extracting archive
  - Installing symfony/string (v5.2.0-RC1): Extracting archive
  - Installing psr/container (1.0.0): Extracting archive
  - Installing symfony/service-contracts (v2.2.0): Extracting archive
  - Installing symfony/polyfill-php73 (v1.20.0): Extracting archive
  - Installing symfony/console (v5.2.0-RC1): Extracting archive
  - Installing doctrine/event-manager (1.1.1): Extracting archive
  - Installing doctrine/collections (1.6.7): Extracting archive
  - Installing doctrine/cache (1.10.2): Extracting archive
  - Installing doctrine/lexer (1.2.1): Extracting archive
  - Installing doctrine/annotations (1.11.1): Extracting archive
  - Installing doctrine/persistence (2.1.0): Extracting archive
  - Installing doctrine/instantiator (1.3.1): Extracting archive
  - Installing doctrine/inflector (1.4.3): Extracting archive
  - Installing doctrine/dbal (2.12.0): Extracting archive
  - Installing doctrine/common (3.0.2): Extracting archive
  - Installing doctrine/orm (2.7.4): Extracting archive
  - Installing psr/log (1.1.3): Extracting archive
  - Installing react/promise (v2.8.0): Extracting archive
  - Installing ezimuel/guzzlestreams (3.0.1): Extracting archive
  - Installing ezimuel/ringphp (1.1.2): Extracting archive
  - Installing elasticsearch/elasticsearch (v7.9.1): Extracting archive
  - Installing symfony/polyfill-apcu (v1.20.0): Extracting archive
  - Installing symfony/polyfill-php72 (v1.20.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.20.0): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-message (1.0.1): Extracting archive
  - Installing guzzlehttp/psr7 (1.7.0): Extracting archive
  - Installing guzzlehttp/promises (1.4.0): Extracting archive
  - Installing guzzlehttp/guzzle (6.5.5): Extracting archive
  - Installing endclothing/prometheus_client_php (1.0.1): Extracting archive
  - Installing symfony/filesystem (v5.2.0-RC1): Extracting archive
  - Installing symfony/deprecation-contracts (v2.2.0): Extracting archive
  - Installing symfony/config (v5.2.0-RC1): Extracting archive
  - Installing symfony/yaml (v5.2.0-RC1): Extracting archive
  - Installing symfony/translation-contracts (v2.3.0): Extracting archive
  - Installing symfony/translation (v5.2.0-RC1): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v2.2.0): Extracting archive
  - Installing symfony/event-dispatcher (v5.2.0-RC1): Extracting archive
  - Installing symfony/dependency-injection (v5.2.0-RC1): Extracting archive
  - Installing behat/behat (v3.8.1): Extracting archive
  - Installing friends-of-behat/mink-extension (v2.4.0): Extracting archive
  - Installing webimpress/safe-writer (2.1.0): Extracting archive
  - Installing laminas/laminas-zendframework-bridge (1.1.1): Extracting archive
  - Installing laminas/laminas-eventmanager (3.3.0): Extracting archive
  - Installing laminas/laminas-code (3.4.1): Extracting archive
  - Installing ocramius/proxy-manager (2.8.1): Extracting archive
  - Installing symfony/proxy-manager-bridge (v5.2.0-RC1): Extracting archive
  - Installing symfony/http-foundation (v5.2.0-RC1): Extracting archive
  - Installing symfony/http-client-contracts (v2.3.1): Extracting archive
  - Installing symfony/var-dumper (v5.2.0-RC1): Extracting archive
  - Installing symfony/error-handler (v5.2.0-RC1): Extracting archive
  - Installing symfony/http-kernel (v5.2.0-RC1): Extracting archive
  - Installing friends-of-behat/symfony-extension (v2.1.0): Extracting archive
  - Installing fzaninotto/faker (v1.9.1): Extracting archive
  - Installing lambdish/phunctional (v2.1.0): Extracting archive
  - Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive
  - Installing mockery/mockery (1.4.2): Extracting archive
  - Installing monolog/monolog (2.1.1): Extracting archive
  - Installing webmozart/assert (1.9.1): Extracting archive
  - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  - Installing phpdocumentor/type-resolver (1.4.0): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.2.2): Extracting archive
  - Installing sebastian/version (3.0.2): Extracting archive
  - Installing sebastian/type (2.3.1): Extracting archive
  - Installing sebastian/resource-operations (3.0.3): Extracting archive
  - Installing sebastian/recursion-context (4.0.4): Extracting archive
  - Installing sebastian/object-reflector (2.0.4): Extracting archive
  - Installing sebastian/object-enumerator (4.0.4): Extracting archive
  - Installing sebastian/global-state (5.0.2): Extracting archive
  - Installing sebastian/exporter (4.0.3): Extracting archive
  - Installing sebastian/environment (5.1.3): Extracting archive
  - Installing sebastian/diff (4.0.4): Extracting archive
  - Installing sebastian/comparator (4.0.6): Extracting archive
  - Installing sebastian/code-unit (1.0.8): Extracting archive
  - Installing sebastian/cli-parser (1.0.1): Extracting archive
  - Installing phpunit/php-timer (5.0.3): Extracting archive
  - Installing phpunit/php-text-template (2.0.4): Extracting archive
  - Installing phpunit/php-invoker (3.1.1): Extracting archive
  - Installing phpunit/php-file-iterator (3.0.5): Extracting archive
  - Installing theseer/tokenizer (1.2.0): Extracting archive
  - Installing nikic/php-parser (v4.10.2): Extracting archive
  - Installing sebastian/lines-of-code (1.0.2): Extracting archive
  - Installing sebastian/complexity (2.0.2): Extracting archive
  - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
  - Installing phpunit/php-code-coverage (9.2.3): Extracting archive
  - Installing phpspec/prophecy (1.12.1): Extracting archive
  - Installing phar-io/version (3.0.2): Extracting archive
  - Installing phar-io/manifest (2.0.1): Extracting archive
  - Installing myclabs/deep-copy (1.10.1): Extracting archive
  - Installing phpunit/phpunit (9.4.3): Extracting archive
  - Installing paragonie/random_compat (v9.99.99): Extracting archive
  - Installing ramsey/uuid (3.9.3): Extracting archive
  - Installing roave/security-advisories (dev-master e440567)
  - Installing symfony/messenger (v5.2.0-RC1): Extracting archive
  - Installing symfony/redis-messenger (v5.2.0-RC1): Extracting archive
  - Installing symfony/doctrine-messenger (v5.2.0-RC1): Extracting archive
  - Installing symfony/amqp-messenger (v5.2.0-RC1): Extracting archive
  - Installing psr/cache (1.0.1): Extracting archive
  - Installing symfony/cache-contracts (v2.2.0): Extracting archive
  - Installing symfony/debug (v4.4.16): Extracting archive
  - Installing symfony/dotenv (v5.2.0-RC1): Extracting archive
  - Installing symfony/routing (v5.2.0-RC1): Extracting archive
  - Installing symfony/finder (v5.2.0-RC1): Extracting archive
  - Installing symfony/var-exporter (v5.2.0-RC1): Extracting archive
  - Installing symfony/cache (v5.2.0-RC1): Extracting archive
  - Installing symfony/framework-bundle (v5.2.0-RC1): Extracting archive
  - Installing twig/twig (v3.1.1): Extracting archive
  - Installing symfony/twig-bridge (v5.2.0-RC1): Extracting archive
  - Installing symfony/twig-bundle (v5.2.0-RC1): Extracting archive
  - Installing symfony/validator (v5.2.0-RC1): Extracting archive
  - Installing webmozart/path-util (2.3.0): Extracting archive
  - Installing openlss/lib-array2xml (1.0.0): Extracting archive
  - Installing netresearch/jsonmapper (v2.1.0): Extracting archive
  - Installing felixfbecker/language-server-protocol (v1.5.0): Extracting archive
  - Installing felixfbecker/advanced-json-rpc (v3.1.1): Extracting archive
  - Installing dnoegel/php-xdg-base-dir (v0.1.1): Extracting archive
  - Installing composer/xdebug-handler (1.4.5): Extracting archive
  - Installing composer/semver (3.2.4): Extracting archive
  - Installing amphp/amp (v2.5.1): Extracting archive
  - Installing amphp/byte-stream (v1.8.0): Extracting archive
  - Installing vimeo/psalm (4.1.1): Extracting archive
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
87 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Docker Compose is now in the Docker CLI, try `docker compose up`

Creating network "php-ddd-example_default" with the default driver
Pulling shared_rabbitmq (rabbitmq:3.7-management)...
3.7-management: Pulling from library/rabbitmq
a114936b4807: Pulling fs layer
a27ecf0d2a86: Pull complete
f4eb48eb870f: Pull complete
0f912b9bb20d: Pull complete
b402e9dc4493: Pull complete
8d2b84c79e5d: Pull complete
c6a5fd67687d: Pull complete
1529a1d35cb1: Pull complete
23142a3aa8f2: Pull complete
ce8a9d7ad966: Pull complete
3df37ad8d650: Pull complete
be3497740fbc: Pull complete
Digest: sha256:b6dd45cc35b36f9fbdb67abca650213998f52e24173f58ceb25c0c29c92105f6
Status: Downloaded newer image for rabbitmq:3.7-management
Pulling shared_prometheus (prom/prometheus:v2.1.0)...
v2.1.0: Pulling from prom/prometheus
Image docker.io/prom/prometheus:v2.1.0 uses outdated schema1 manifest format. Please upgrade to a schema2 image for better future compatibility. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/
aab39f0bc16d: Pull complete
a3ed95caeb02: Pull complete
2cd9e239cea6: Pull complete
48afad9e6cdd: Pull complete
8fb7aa0e1c16: Pull complete
3b9d4fd63760: Pull complete
57a87cf4a659: Pull complete
9a31588e38ae: Pull complete
7a0ac0080f04: Pull complete
659e24e6d37f: Pull complete
Digest: sha256:7b987901dbc44d17a88e7bda42dbbbb743c161e3152662959acd9f35aeefb9a3
Status: Downloaded newer image for prom/prometheus:v2.1.0
Pulling mooc_mysql (mariadb:10.6)...
10.6: Pulling from library/mariadb
80bc30679ac1: Pulling fs layer
9bf18fab4cfb: Pull complete
5979309c983a: Pull complete
27e4d4c2f8c5: Pull complete
98569ed21382: Pull complete
353ee44f3ea1: Pull complete
36b488172ac5: Pull complete
d53051311042: Pull complete
3c914aa3c298: Pull complete
1857a41dbb93: Pull complete
b9e590a95db4: Pull complete
fc33e52e0666: Pull complete
Digest: sha256:6b687eb768f01add603c1474003c62e13d130bfd7030ac5334c9ae6a73d09e0c
Status: Downloaded newer image for mariadb:10.6
Pulling backoffice_elasticsearch (docker.elastic.co/elasticsearch/elasticsearch:6.8.10)...
6.8.10: Pulling from elasticsearch/elasticsearch
86dbb57a3083: Pull complete
17d1e2fdf0ce: Pull complete
b802d4bd0cfc: Pull complete
3330eb17d8b6: Pull complete
c5d57198ef0e: Pull complete
cfa313d1886d: Pull complete
78098b17a5a3: Pull complete
Digest: sha256:f8e21f6b2ef75dcda374da505fcb0ff4bf7e8d025f12096c498123fa4e372c1b
Status: Downloaded newer image for docker.elastic.co/elasticsearch/elasticsearch:6.8.10
Building backoffice_backend_php
[+] Building 1.7s (19/19) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                  0.0s
 => => transferring dockerfile: 1.02kB                                                                                                                                0.0s
 => [internal] load .dockerignore                                                                                                                                     0.0s
 => => transferring context: 2B                                                                                                                                       0.0s
 => [internal] load metadata for docker.io/library/php:8.0-fpm-alpine                                                                                                 1.5s
 => [auth] library/php:pull token for registry-1.docker.io                                                                                                            0.0s
 => [ 1/13] FROM docker.io/library/php:8.0-fpm-alpine@sha256:724bd0ac7e3fbcc2f9f65084dcffb70689f3ecbddb31a272b2207e2508138de4                                         0.0s
 => [internal] load build context                                                                                                                                     0.0s
 => => transferring context: 1.68kB                                                                                                                                   0.0s
 => CACHED [ 2/13] WORKDIR /app                                                                                                                                       0.0s
 => CACHED [ 3/13] RUN wget https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.2/pickle.phar     && mv pickle.phar /usr/local/bin/pickle     && chmod +x   0.0s
 => CACHED [ 4/13] RUN apk --update upgrade     && apk add --no-cache autoconf automake make gcc g++ bash icu-dev libzip-dev rabbitmq-c rabbitmq-c-dev     && docker  0.0s
 => CACHED [ 5/13] RUN pickle install apcu@5.1.20                                                                                                                     0.0s
 => CACHED [ 6/13] ADD etc/infrastructure/php/extensions/rabbitmq.sh /root/install-rabbitmq.sh                                                                        0.0s
 => CACHED [ 7/13] ADD etc/infrastructure/php/extensions/xdebug.sh /root/install-xdebug.sh                                                                            0.0s
 => CACHED [ 8/13] RUN apk add git                                                                                                                                    0.0s
 => CACHED [ 9/13] RUN sh /root/install-rabbitmq.sh                                                                                                                   0.0s
 => CACHED [10/13] RUN sh /root/install-xdebug.sh                                                                                                                     0.0s
 => CACHED [11/13] RUN docker-php-ext-enable         amqp         apcu         opcache                                                                                0.0s
 => CACHED [12/13] RUN curl -sS https://get.symfony.com/cli/installer | bash && mv /root/.symfony/bin/symfony /usr/local/bin/symfony                                  0.0s
 => CACHED [13/13] COPY etc/infrastructure/php/ /usr/local/etc/php/                                                                                                   0.0s
 => exporting to image                                                                                                                                                0.0s
 => => exporting layers                                                                                                                                               0.0s
 => => writing image sha256:6dad0d0d903b84069f5e6f240e573b09b8e3003d1786e39a5777817e1f79074b                                                                          0.0s
 => => naming to docker.io/library/php-ddd-example_backoffice_backend_php                                                                                             0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Building backoffice_frontend_php
[+] Building 0.4s (18/18) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                  0.0s
 => => transferring dockerfile: 37B                                                                                                                                   0.0s
 => [internal] load .dockerignore                                                                                                                                     0.0s
 => => transferring context: 2B                                                                                                                                       0.0s
 => [internal] load metadata for docker.io/library/php:8.0-fpm-alpine                                                                                                 0.2s
 => [ 1/13] FROM docker.io/library/php:8.0-fpm-alpine@sha256:724bd0ac7e3fbcc2f9f65084dcffb70689f3ecbddb31a272b2207e2508138de4                                         0.0s
 => [internal] load build context                                                                                                                                     0.0s
 => => transferring context: 563B                                                                                                                                     0.0s
 => CACHED [ 2/13] WORKDIR /app                                                                                                                                       0.0s
 => CACHED [ 3/13] RUN wget https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.2/pickle.phar     && mv pickle.phar /usr/local/bin/pickle     && chmod +x   0.0s
 => CACHED [ 4/13] RUN apk --update upgrade     && apk add --no-cache autoconf automake make gcc g++ bash icu-dev libzip-dev rabbitmq-c rabbitmq-c-dev     && docker  0.0s
 => CACHED [ 5/13] RUN pickle install apcu@5.1.20                                                                                                                     0.0s
 => CACHED [ 6/13] ADD etc/infrastructure/php/extensions/rabbitmq.sh /root/install-rabbitmq.sh                                                                        0.0s
 => CACHED [ 7/13] ADD etc/infrastructure/php/extensions/xdebug.sh /root/install-xdebug.sh                                                                            0.0s
 => CACHED [ 8/13] RUN apk add git                                                                                                                                    0.0s
 => CACHED [ 9/13] RUN sh /root/install-rabbitmq.sh                                                                                                                   0.0s
 => CACHED [10/13] RUN sh /root/install-xdebug.sh                                                                                                                     0.0s
 => CACHED [11/13] RUN docker-php-ext-enable         amqp         apcu         opcache                                                                                0.0s
 => CACHED [12/13] RUN curl -sS https://get.symfony.com/cli/installer | bash && mv /root/.symfony/bin/symfony /usr/local/bin/symfony                                  0.0s
 => CACHED [13/13] COPY etc/infrastructure/php/ /usr/local/etc/php/                                                                                                   0.0s
 => exporting to image                                                                                                                                                0.0s
 => => exporting layers                                                                                                                                               0.0s
 => => writing image sha256:6dad0d0d903b84069f5e6f240e573b09b8e3003d1786e39a5777817e1f79074b                                                                          0.0s
 => => naming to docker.io/library/php-ddd-example_backoffice_frontend_php                                                                                            0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Building mooc_backend_php
[+] Building 0.4s (18/18) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                  0.0s
 => => transferring dockerfile: 37B                                                                                                                                   0.0s
 => [internal] load .dockerignore                                                                                                                                     0.0s
 => => transferring context: 2B                                                                                                                                       0.0s
 => [internal] load metadata for docker.io/library/php:8.0-fpm-alpine                                                                                                 0.2s
 => [ 1/13] FROM docker.io/library/php:8.0-fpm-alpine@sha256:724bd0ac7e3fbcc2f9f65084dcffb70689f3ecbddb31a272b2207e2508138de4                                         0.0s
 => [internal] load build context                                                                                                                                     0.0s
 => => transferring context: 563B                                                                                                                                     0.0s
 => CACHED [ 2/13] WORKDIR /app                                                                                                                                       0.0s
 => CACHED [ 3/13] RUN wget https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.2/pickle.phar     && mv pickle.phar /usr/local/bin/pickle     && chmod +x   0.0s
 => CACHED [ 4/13] RUN apk --update upgrade     && apk add --no-cache autoconf automake make gcc g++ bash icu-dev libzip-dev rabbitmq-c rabbitmq-c-dev     && docker  0.0s
 => CACHED [ 5/13] RUN pickle install apcu@5.1.20                                                                                                                     0.0s
 => CACHED [ 6/13] ADD etc/infrastructure/php/extensions/rabbitmq.sh /root/install-rabbitmq.sh                                                                        0.0s
 => CACHED [ 7/13] ADD etc/infrastructure/php/extensions/xdebug.sh /root/install-xdebug.sh                                                                            0.0s
 => CACHED [ 8/13] RUN apk add git                                                                                                                                    0.0s
 => CACHED [ 9/13] RUN sh /root/install-rabbitmq.sh                                                                                                                   0.0s
 => CACHED [10/13] RUN sh /root/install-xdebug.sh                                                                                                                     0.0s
 => CACHED [11/13] RUN docker-php-ext-enable         amqp         apcu         opcache                                                                                0.0s
 => CACHED [12/13] RUN curl -sS https://get.symfony.com/cli/installer | bash && mv /root/.symfony/bin/symfony /usr/local/bin/symfony                                  0.0s
 => CACHED [13/13] COPY etc/infrastructure/php/ /usr/local/etc/php/                                                                                                   0.0s
 => exporting to image                                                                                                                                                0.0s
 => => exporting layers                                                                                                                                               0.0s
 => => writing image sha256:6dad0d0d903b84069f5e6f240e573b09b8e3003d1786e39a5777817e1f79074b                                                                          0.0s
 => => naming to docker.io/library/php-ddd-example_mooc_backend_php                                                                                                   0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Creating codelytv-php_ddd_skeleton-backoffice-elastic ... done
Creating codelytv-php_ddd_skeleton-rabbitmq           ... done
Creating codelytv-php_ddd_skeleton-prometheus         ... done
Creating codelytv-php_ddd_skeleton-mooc-mysql         ... done
Creating codelytv-php_ddd_skeleton-backoffice_frontend-php ... done
Creating codelytv-php_ddd_skeleton-backoffice_backend-php  ... done
Creating codelytv-php_ddd_skeleton-mooc_backend-php        ... done

Executing the specific make target that would be producing errors on your side, make composer-install, also properly work:

make composer-install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
87 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

The latest build on the master branch is also successfully being executed on the CI.

Could you please check if there is any difference in your Makefile with the one in the master branch?

Or simply follow the readme instructions again in order to ensure a fresh install of the repo:

  1. git clone https://github.com/CodelyTV/php-ddd-example php-ddd-example
  2. cd php-ddd-example
  3. make build

If that fails, please, paste the whole output here in order to see other possible related errors in order to be able to help you out 😊