Current Mac Files
This commit is contained in:
5
compose-env-laravel/docker-file-php/90-xdebug.ini
Executable file
5
compose-env-laravel/docker-file-php/90-xdebug.ini
Executable file
@@ -0,0 +1,5 @@
|
||||
zend_extension=xdebug.so
|
||||
xdebug.mode=develop,debug
|
||||
xdebug.start_with_request=yes
|
||||
xdebug.discover_client_host=0
|
||||
xdebug.client_host=host.docker.internal
|
||||
19
compose-env-laravel/docker-file-php/Dockerfile
Executable file
19
compose-env-laravel/docker-file-php/Dockerfile
Executable file
@@ -0,0 +1,19 @@
|
||||
FROM php:8.3.1-fpm-alpine
|
||||
|
||||
#Referencia solucion https://github.com/caohoangtu/docker-laravel/tree/master
|
||||
RUN apk add --update --no-cache autoconf g++ make openssl-dev
|
||||
RUN apk add libpng-dev
|
||||
RUN apk add libzip-dev
|
||||
RUN apk add --update linux-headers
|
||||
|
||||
RUN docker-php-ext-install gd
|
||||
RUN docker-php-ext-install zip
|
||||
RUN docker-php-ext-install bcmath
|
||||
RUN docker-php-ext-install sockets
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
||||
RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql
|
||||
|
||||
#install xdebug
|
||||
RUN pecl install xdebug
|
||||
COPY 90-xdebug.ini "${PHP_INI_DIR}"/conf.d
|
||||
Reference in New Issue
Block a user