Comments (7)
Why don't you replicate Debian's way of distributing PHP extensions?
$ apt-cache depends php7.4-fpm | grep php
php7.4-fpm
Depends: php7.4-cli
Depends: php7.4-common
Depends: php7.4-json
Depends: php7.4-opcache
Suggests: php-pear
Install all other php*
packages from the PPA.
Then disable them.
All scripted! :) aptitude --disable-columns --display-format %p search ...
This way it will fit every use-case.
from docker-php.
Thanks for pointing that out! I will follow those basics, but likely pull them all from Ondrej's PHP (since its a widely accepted in the PHP community).
I have had issues in the past where Ubtuntu's repos took a while to process the update.
I will be starting off with Ubuntu images (since that's what we're comfortable with now) but will be making the transition to Debian/Alpine sometime in the future.
from docker-php.
aptitude --disable-columns --display-format %p search '?and(?origin(deb.sury.org), ?architecture(native), ?name(php-), ?not(?name(-dev)), ?not(?name(-dbgsym)))'
aptitude --disable-columns --display-format %p search '?and(?origin(deb.sury.org), ?architecture(native), ?name(php7.4-), ?not(?name(-dev)), ?not(?name(-dbgsym)))'
Ask OndΕej how to list all his packages for a specific version!
The above method may look like you scratch your left ear with your right hand.
from docker-php.
Thanks! I might keep things simple for now and loop back for more flexibility later. Worst case scenario, people can build their own image on top of mine if they need custom packages.
from docker-php.
people can build their own image
That will result in a near-zero user base πΏ
from docker-php.
I understand, its a complex story...
Goal
- We want people to be able to work with us on other PHP projects
- We want anyone in the world to have the closest replication of our production images as possible
What this project is not
- I don't expect people to flood to this project on day one. It's mainly to make it easier for others to work with us on some other open source PHP projects
First problem to solve
- Get an open image out to people so we can replicate environments
Future problem to solve
- Make it really flexible for people to customize
I definitely do not disagree with what you are proposing. I just want to get some sort of PHP out there (strictly for testing) and I can come back to cleaning it up later.
from docker-php.
It seems like all of the packages we have have been working well for what we need π
from docker-php.
Related Issues (20)
- FPM-NGINX is missing EXPOSE instruction HOT 1
- As there is no 'unzip' nor '7z' command installed zip files are being unpacked using the PHP zip extension. HOT 1
- Docker Run Commands do not default to the APP_BASE_DIR path
- Running `apt-*` command failed on the beta fpm images HOT 1
- Scrollbars appear on 1x screens HOT 1
- Missing INTL module on php:beta-8.3-fpm-nginx HOT 1
- FPM-NGINX doesn't appear to be copying/executing custom entrypoint scripts HOT 1
- Add our SaaS products at the top
- LOG_LEVEL conflicts with Laravel: "Unable to create configured logger"
- Automigrations fail with Postgres
- Create a FrankenPHP variation HOT 1
- Improve release process
- Nginx realip module breaks Laravel's TrustProxies middleware HOT 2
- Search does not work
- install-php-extensions does not work HOT 3
- docker-php-serversideup-s6-ini fails HOT 1
- Laravel migration with database cache errors because cannot obtain lock HOT 1
- APACHE_DOCUMENT_ROOT is Misdocumented? /var/www/html/public instead of /var/www/html ?? HOT 1
- docker-php-serversideup-s6-init: not found HOT 1
- Add `php artisan config:clear` on Deployments
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-php.