Ich versuche gerade, Shopware local zu installieren (nach Installation Overview | Shopware Documentation), aber docker bricht ab mit folgender Fehlermeldung:
Changed current directory to /.composer
[RuntimeException]
No composer.json present in the current directory, this may be the cause of the following exception.
[InvalidArgumentException]
Package hirak/prestissimo at version has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version
require [–dev] [–dry-run] [–prefer-source] [–prefer-dist] [–fixed] [–no-suggest] [–no-progress] [–no-update] [–no-install] [–no-scripts] [–update-no-dev] [-w|–update-with-dependencies] [-W|–update-with-all-dependencies] [–with-dependencies] [–with-all-dependencies] [–ignore-platform-req IGNORE-PLATFORM-REQ] [–ignore-platform-reqs] [–prefer-stable] [–prefer-lowest] [–sort-packages] [-o|–optimize-autoloader] [-a|–classmap-authoritative] [–apcu-autoloader] [–apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [–] []…
ERROR: for app_server (<service: app_server>, ‚The command '/bin/sh -c sed -ri -e 's!VirtualHost \:80!VirtualHost \:8000!g' /opt/docker/etc/httpd/vhost.conf && echo „Listen 8000“ | tee -a /etc/apache2/ports.conf && curl -sL https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && sh -c 'echo „deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main“ >> /etc/apt/sources.list.d/google.list' && curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && sh -c 'echo „deb [arch=amd64] Index of linux/debian/ stretch stable“ >> /etc/apt/sources.list.d/docker.list' && mkdir -p /usr/share/man/man1 && curl -sL https://deb.nodesource.com/setup_12.x | bash && mkdir -p ${NPM_CONFIG_CACHE} && apt-install default-mysql-client nodejs google-chrome-stable libicu-dev graphviz vim gnupg2 docker-ce=5:18.09.7~3-0~debian-stretch && npm i npm -g && npm i forever -g && chown -R ${USER_ID}:${GROUP_ID} ${NPM_CONFIG_CACHE} && ln -s /app/psh.phar /bin/psh && pecl install pcov-1.0.6 && docker-php-ext-enable pcov && composer global require hirak/prestissimo' returned a non-zero code: 1‘)
Service ‚app_server‘ failed to build : The command ‚/bin/sh -c sed -ri -e ‚s!VirtualHost *:80!VirtualHost *:8000!g‘ /opt/docker/etc/httpd/vhost.conf && echo „Listen 8000“ | tee -a /etc/apache2/ports.conf && curl -sL https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && sh -c ‚echo „deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main“ >> /etc/apt/sources.list.d/google.list‘ && curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && sh -c ‚echo „deb [arch=amd64] Index of linux/debian/ stretch stable“ >> /etc/apt/sources.list.d/docker.list‘ && mkdir -p /usr/share/man/man1 && curl -sL https://deb.nodesource.com/setup_12.x | bash && mkdir -p ${NPM_CONFIG_CACHE} && apt-install default-mysql-client nodejs google-chrome-stable libicu-dev graphviz vim gnupg2 docker-ce=5:18.09.7~3-0~debian-stretch && npm i npm -g && npm i forever -g && chown -R ${USER_ID}:${GROUP_ID} ${NPM_CONFIG_CACHE} && ln -s /app/psh.phar /bin/psh && pecl install pcov-1.0.6 && docker-php-ext-enable pcov && composer global require hirak/prestissimo‘ returned a non-zero code: 1
Execution aborted, a subcommand failed!
</service:>
Bei Googeln bin ich auf https://github.com/coopcycle/coopcycle-web/issues/1853 gestossen - aber ich glaube, es ist nicht so gut, wenn ich docker/php/install-composer.sh verändere…
Kann ich das Problem anderweitig lösen?