Giter Club home page Giter Club logo

Comments (7)

szepeviktor avatar szepeviktor commented on May 25, 2024

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.

jaydrogers avatar jaydrogers commented on May 25, 2024

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.

szepeviktor avatar szepeviktor commented on May 25, 2024
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.

jaydrogers avatar jaydrogers commented on May 25, 2024

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.

szepeviktor avatar szepeviktor commented on May 25, 2024

people can build their own image

That will result in a near-zero user base 😿

from docker-php.

jaydrogers avatar jaydrogers commented on May 25, 2024

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

DockerImageDependency

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.

jaydrogers avatar jaydrogers commented on May 25, 2024

It seems like all of the packages we have have been working well for what we need πŸ‘

from docker-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.