+ php 8.1
* refactoring composer version & auth secrets apply separate for workspaces
This commit is contained in:
@ -23,6 +23,8 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||
# Install the xdebug extension
|
||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||
pecl install xdebug-2.5.5; \
|
||||
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
||||
pecl install xdebug-3.1.6; \
|
||||
else \
|
||||
pecl install xdebug-2.9.8; \
|
||||
fi && \
|
||||
|
7
src/dockerfiles/php-fpm/php81.Dockerfile
Normal file
7
src/dockerfiles/php-fpm/php81.Dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
# syntax = edrevo/dockerfile-plus
|
||||
FROM php:8.1-fpm
|
||||
|
||||
INCLUDE+ ./php.base.Dockerfile
|
||||
|
||||
RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \
|
||||
&& docker-php-ext-install -j$(nproc) gd
|
Reference in New Issue
Block a user