Skip to content

Commit

Permalink
chore: Dockerfile fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed Sep 28, 2023
1 parent 9841cdc commit 5f89965
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ ARG PHP_VERSION=7.4

FROM wordpress:php${PHP_VERSION}-apache

ARG XDEBUG_VERSION=2.9.6

RUN apt-get update; \
apt-get install -y --no-install-recommends \
Expand All @@ -13,7 +14,7 @@ RUN apt-get update; \
COPY php.ini /usr/local/etc/php/php.ini

# Setup xdebug. The latest version supported by PHP 5.6 is 2.5.5.
RUN pecl install xdebug; \
RUN pecl install "xdebug-${XDEBUG_VERSION}"; \
docker-php-ext-enable xdebug

# Install PDO MySQL driver.
Expand Down

0 comments on commit 5f89965

Please sign in to comment.