Open fe3dback opened 8 years ago
solved by adding arg --ignore-platform-reqs to install command:
command: install --ignore-platform-reqs
but why normaly it isnt work?
The composer image does not contain the extension. Your application image does. Composer is not running inside your application image though, it is running inside its own image. You can create a custom image that extends the composer image and adds the necessary extension(s) for your application. But if you do not need these extensions for the install step, then it is best to just rely on --ignore-platform-reqs
.
How do I build custom images with extensions like gd ?
My dockerfile:
my compose config:
first build app:
docker-compose build
its ok.then start:
I get this errors:
but intl is exist in system, and accessible from cli/apache both. for example:
run bash from last builded image
this give:
in phpinfo:
I want build my project by docker, then install vendor requirements by composer.