79829342

Date: 2025-11-25 06:07:48
Score: 2
Natty:
Report link

https://github.com/mlocati/docker-php-extension-installer can also be an approach. Your Dockerfile then might look like:

FROM php:8.2-fpm

COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
RUN install-php-extensions @composer http (and other extensions supported by the installer)

...
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): can also
  • Low reputation (0.5):
Posted by: Shushiro