Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first docker set-up #1

Open
E2design opened this issue Dec 23, 2020 · 0 comments
Open

first docker set-up #1

E2design opened this issue Dec 23, 2020 · 0 comments

Comments

@E2design
Copy link

Started up my first servd. project using the servd/demo repo I ran into this error during docker compose

Composer (version 2.0.8) successfully installed to: /usr/local/bin/composer
Use it: php /usr/local/bin/composer

Removing intermediate container b529d21a70b6
 ---> 3e65faa145b8
Step 4/7 : RUN composer global require hirak/prestissimo
 ---> Running in e7adc5540e6e
Changed current directory to /root/.composer

                                                                                                    
[RuntimeException]                                                                                    
No composer.json present in the current directory, this may be the cause of the following exception.  
                                                                                                    

                                                                                                                       
[InvalidArgumentException]                                                                                               
Package hirak/prestissimo 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] [--] [<packages>]...

ERROR: Service 'php' failed to build : The command '/bin/sh -c composer global require hirak/prestissimo' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant