-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Environment
dev:
- Device: macOS Big Sur
- OS version: v11.4
- Docker: version 20.10.11, build dea9396
- Composer: version 2.2.1
- drupal-composer/preserve-paths: 0.1.6
prd:
- alpine:3.14
- php8.0.13
- no sudo-er / user: nobody
Describe the problem:
If vendor/ folder does not exist in the repo, the command docker build -t app . fails with the error:
[RuntimeException]
/.composer/cache/preserve-paths/518d646133f3bc0cdce8020fedc7a2cfdb3ed202 does not exist and could not be created.Steps to reproduce:
- Delete in local dev environment the
vendorfile - run:
docker build -t app . - You get the RuntimeException error
Expected Results:
- No runtime exception. Other packages are not bind on build with the
vendor - The
vendorfolder must not be committed or built in advance into an automated ci/cd environment.
or, I miss something?
Metadata
Metadata
Assignees
Labels
No labels