This images includes php composer, xdebug, npm
193
FROM php:8.2-apache
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
RUN pecl install xdebug-3.2.0
&& docker-php-ext-enable xdebug
COPY docker-php-ext-xdebug.ini "$PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini"
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
RUN apt-get update && apt-get install -y
zip
unzip
git
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - RUN apt-get install nodejs
RUN a2enmod rewrite RUN a2enmod headers
WORKDIR /var/www/html/
Content type
Image
Digest
sha256:bc69fec3f…
Size
191.7 MB
Last updated
over 3 years ago
docker pull granruds/php:8.2-prod