Skip to content

/srv/vendor does not exist and could not be created. #41

@veikoon

Description

@veikoon

volumes:
- .:/srv

Successfully built 9c67cde3010d
Successfully tagged votix_votix:latest
WARNING: Image for service votix was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating votix_votix_run ... done
composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
Package operations: 172 installs, 0 updates, 0 removals

In Filesystem.php line 254:

  /srv/vendor does not exist and could not be created.


install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]

Lors du build le dossier /srv/vendor est impossible à créer puisque docker-compose monte le dossier local et les permissions ne sont pas suffisantes.

--> Solution de contournement : executer l'instance docker avec le user root

docker-compose run --user root --rm votix make install_dev

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