Comments (2)
I can't take your request for instance but i keep it in the enchancement list for instance.
Also, probably we will not implement custom extention (like libvips) for the fat images (we have to limit the size of the images). But we may imagine another command instead of "startup_command" (something like "init_command" to be run only at the first boot of the container).
PS: Personally, I looked for several options for image comparison and fell back on OpenCV through a python wrapper (not perfect for maintainability but very efficient : the only complexity is to save the image in filesystem, so i got some delay related and i had to implement lof of cache feature to limit that). I'm very curious about libvips capabilities.
from docker-images-php.
But we may imagine another command instead of "startup_command" (something like "init_command" to be run only at the first boot of the container).
The biggest problem (which is also totally not your fault) is that either way installation through apt-get is relatively slow because we always need to update(the indexes) first, and then there's also extra package dependencies. I've also had trouble in the past with apt-get in pipelines - from time to time their update services breaks (for a whole day, for example), causing us to be stuck until it's fixed.
In cases like this, the best solution is either a pre-built image or custom docker image.
(I'm not trying to convince you, just stating the facts.)
Personally, I looked for several options for image comparison and fell back on OpenCV through a python wrapper
I was considering taking that approach by building a native php library in rust connecting to OpenCV.
But in either case there are a lot of dependencies: rust+php-dev+opencv or php+python+opencv - plus, apparently opencv is quite heavy on dependencies itself (I had some minor trouble installing it in brew).
On the other hand, libvips was easier to set up: installing libvips, installing composer package, ensuring php has ffi enabled, done.
Additionally, the code I got from their forum almost worked perfectly the first try and it felt incredibly fast.
That's just my personal experience.
keep it in the enchancement list for instance.
Fine with me! 👍
from docker-images-php.
Related Issues (20)
- Support the creators
- Takes too long to shut down HOT 1
- New v5 and new roadmap HOT 7
- Add environment variable to change Apache ports HOT 1
- Add decimal extension
- Cannot run Composer binaries without path anymore HOT 10
- Add uopz extension HOT 2
- Lots of `<defunct>` processes when using Cron HOT 2
- No rebuild with Composer 2.6.2? HOT 3
- Publishing image on other container registries HOT 4
- Docker fails when using non-privileged user HOT 2
- Add PHP 8.3 images HOT 15
- Extra extentions loading not working for BitBucket pipeline HOT 4
- Building image from php:8.2-v4-apache or php:8.3-v4-apache fails with modified php.ini query HOT 3
- Redis missing from fat image HOT 5
- Missing "gd" PHP extension HOT 3
- Composer 2.7 and CVE-2024-24821 HOT 1
- Extension opentelemetry HOT 1
- Install SQL Server (sqlsrv) and PDO_SQLSRV (pdo_sqlsrv) HOT 2
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-images-php.