Skip to content

Commit 361c31e

Browse files
committed
devops: Docker configurations updated
1 parent 8b25dcb commit 361c31e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
ARG PHP_VERSION
22
FROM wordpress:php${PHP_VERSION}-apache
33

4-
ARG XDEBUG_VERSION=2.9.6
5-
64
RUN apt-get update; \
75
apt-get install -y --no-install-recommends \
86
# WP-CLI dependencies.
@@ -13,7 +11,7 @@ RUN apt-get update; \
1311
wget;
1412

1513
# Setup xdebug. The latest version supported by PHP 5.6 is 2.5.5.
16-
RUN pecl install "xdebug-${XDEBUG_VERSION}"; \
14+
RUN pecl install xdebug; \
1715
docker-php-ext-enable xdebug; \
1816
echo "xdebug.default_enable = 1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini; \
1917
echo "xdebug.remote_autostart = 0" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini; \

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ services:
7171
build:
7272
context: .
7373
args:
74-
PHP_VERSION: ${PHP_VERSION:-8.0}
74+
PHP_VERSION: ${PHP_VERSION:-8.3}
7575
volumes:
7676
- .:/var/www/html/wp-content/plugins/wp-graphql-woocommerce
7777
- ./codeception.dist.yml:/var/www/html/wp-content/plugins/wp-graphql-woocommerce/codeception.yml

0 commit comments

Comments
 (0)