Comments (3)
solved by adding arg --ignore-platform-reqs to install command:
command: install --ignore-platform-reqs
but why normaly it isnt work?
from docker-composer.
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
.
from docker-composer.
How do I build custom images with extensions like gd ?
from docker-composer.
Related Issues (20)
- Warning: This development build of composer is over 60 days old. HOT 2
- How to mount the composer cache into the container? HOT 4
- --no-interaction appears to be implied HOT 1
- ERROR: docker run --rm -v $PWD/:/app composer/composer install HOT 1
- Pear is broken HOT 1
- PEAR tmp fix breaks the builds of Alpine-based images HOT 1
- iconv() not working
- Composer require very slow HOT 4
- new docker images? HOT 6
- configure: error: Please reinstall the BZip2 distribution HOT 1
- Add soap
- Error when installing composer HOT 10
- composer/composer:php7 php eversion HOT 5
- error: cannot run ssh: No such file or directory fatal: unable to fork
- master-php7.1.4-alpine not found by docker. HOT 1
- Add docker-compose example to README HOT 1
- Too Many Deps HOT 3
- How to add extension php-intl HOT 3
- Issue with docker-php-ext-install with the alpine image HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-composer.