Comments (9)
Yeah, I hope pickle is usable for us:
https://github.com/FriendsOfPHP/pickle
from php-docker.
Interesting project - didnt know that.
I would short-circuit this feature-request for the time being by adapting the heroku buildpack once again, as many shared extensions are already available, but not enabled.
from php-docker.
Now you can put php.ini with extensions=***.so to enable them.
I agree it is a nice feature to read the composer.json and automate it. What should we do when specified extensions are not compiled?
from php-docker.
Or probably composer install
will just fail.
from php-docker.
Yes, I agree. Similar to an unresolvable package version, if the extensions
are not available, an error should be thrown.
On Fri, Dec 11, 2015 at 1:04 PM Takashi Matsuo [email protected]
wrote:
Or probably composer install will just fail.
—
Reply to this email directly or view it on GitHub
#25 (comment)
.
from php-docker.
Out of curiosity - which specific extensions are you looking to use? We're hoping that in the general case most people won't have to install extensions for simple apps. I see two levels of automation here:
- Automatically include extensions referenced as ext- in composer.json in the php.ini
- Actually install extensions into the base image
Does pickle do both of these, or just #2?
from php-docker.
I think the primary goal should be category 1. I actually don't use other extensions very often. Every once in a while I hear from exotic native code, but for those cases, the Docker image can be extended.
If the interpreter doesn't have the extension demanded via composer.json, composer will refuse to install the dependencies from the lock file, which is very transparent in the build output.
from php-docker.
I think regarding (non-shared|third-party) extensions, those might be c implementations for redis and mongo, as well as memcached (provided for 5.6), oAuth, the newrelic agent, blackfire and apcu.
As these are common ones, I think the image should be able to provide them. - What do you think?
from php-docker.
@cedricziel Yes, we want to pre-compile popular extensions.
from php-docker.
Related Issues (20)
- Cannot use nginx-app.conf with Drupal 8 docker image based off gcr.io/google-appengine/php:latest HOT 1
- Laravel 7 support (PHP 7.2.5)
- Setup Travis CI & GCP project on fork HOT 14
- Sunsetting 7.2 and older HOT 2
- Flex not building PHP 5.6 HOT 2
- Phalcon for PHP 7.3 HOT 2
- Base image not reading php version from composer.json
- Typo in Dockerfile -- "RUNTIME_DISTRUBTION"
- Support for PHP 7.4 and 8.0 HOT 18
- Redis version v3 -> v5 HOT 1
- Laravel 8 - build failed in google app engine flexible environment HOT 2
- Is there a way to extend Dockerfile.twig?
- ext-sodium PHP7.4 HOT 1
- Update to composer 2
- Is this the same as gcr.io/google-appengine/php? HOT 6
- Available PHP Versions are EOL HOT 9
- Something wrong with current latest HOT 3
- [SECURITY] current php73 image has some vulnerabilities HOT 2
- multi-arch support
- PHP 8.1 update HOT 6
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 php-docker.