Skip to content

first docker set-up #1

@E2design

Description

@E2design

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions