Skip to content

Commit a6b623d

Browse files
janedbalondrejmirtes
authored andcommitted
Use stable PHP 8.4 with xdebug in docker image
1 parent 93d1307 commit a6b623d

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

tests/Platform/docker/Dockerfile84

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.4.0beta4-cli
1+
FROM php:8.4-cli
22

33
# MSSQL
44
RUN apt update \
@@ -12,13 +12,8 @@ RUN apt update \
1212
&& pecl install pdo_sqlsrv \
1313
&& docker-php-ext-enable sqlsrv pdo_sqlsrv
1414

15-
RUN set -ex \
16-
&& apt update \
17-
&& apt install -y bash zip libpq-dev libsqlite3-dev \
18-
&& pecl install xdebug-3.4 mongodb \
19-
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
20-
&& docker-php-ext-install pdo mysqli pgsql pdo_mysql pdo_pgsql pdo_sqlite \
21-
&& docker-php-ext-enable mongodb # TODO xdebug not yet supported here
15+
COPY ./docker-setup.sh /opt/src/scripts/setup.sh
16+
RUN /opt/src/scripts/setup.sh
2217

2318
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer
2419

0 commit comments

Comments
 (0)