This commit is contained in:
WP Studio
2026-10-22 15:40:48 +03:00
parent 9516d0da25
commit b86367fd69
4 changed files with 24 additions and 1 deletions

View File

@ -7,7 +7,7 @@ SCRIPT_DIR="$(realpath $(dirname "$(readlink -f "$0")"))"
PHP_VERSION=$1 # Without dot
if [[ -z "${PHP_VERSION}" ]]; then PHP_VERSION=81; fi
if [[ -z "${PHP_VERSION}" ]]; then PHP_VERSION=82; fi
CONTAINER=$(docker ps | grep workspace${PHP_VERSION} | awk '{print $1}')

View File

@ -29,6 +29,12 @@ services:
service: php-fpm
build:
dockerfile: fpm/php84.Dockerfile
php85:
extends:
file: docker-compose.base.yml
service: php-fpm
build:
dockerfile: fpm/php85.Dockerfile
workspace74:
extends:
file: docker-compose.base.yml

View File

@ -0,0 +1,8 @@
# syntax = edrevo/dockerfile-plus
FROM php:8.5-fpm
INCLUDE+ ./fpm/php.base.Dockerfile
ARG XDEBUG_INI_PATH=/usr/local/etc/php/conf.d/xdebug.ini
COPY ./xdebug3.ini ${XDEBUG_INI_PATH}

View File

@ -0,0 +1,9 @@
# syntax = edrevo/dockerfile-plus
FROM laradock/workspace:latest-8.5
ARG PHP_VERSION=8.5
ENV PHP_VERSION ${PHP_VERSION}
INCLUDE+ ./workspace/workspace.base.Dockerfile
INCLUDE+ ./workspace/xdebug3.Dockerfile