From a81e7df6b38e31b3719fc434b4e848bb77fa7748 Mon Sep 17 00:00:00 2001 From: Anton Ukhanev Date: Thu, 16 Jul 2026 17:14:35 +0200 Subject: [PATCH 1/2] Ensure stuff still works --- .env.example | 2 +- .idea/containers.iml | 4 +- .idea/php.xml | 115 +++++++++++++++++++++++-------------------- docker/Dockerfile | 7 ++- 4 files changed, 70 insertions(+), 58 deletions(-) diff --git a/.env.example b/.env.example index f82adcb..9b12df1 100644 --- a/.env.example +++ b/.env.example @@ -5,4 +5,4 @@ PROJECT_NAME=wp-oop_containers PHP_BUILD_VERSION=7.1 PHP_TEST_VERSION=7.1 -HOST_IP_ADDRESS=127.0.0.1 +HOST_IP_ADDRESS=host-gateway diff --git a/.idea/containers.iml b/.idea/containers.iml index 70075f2..22997b1 100644 --- a/.idea/containers.iml +++ b/.idea/containers.iml @@ -2,12 +2,12 @@ + + - - diff --git a/.idea/php.xml b/.idea/php.xml index 64d0228..ea5334c 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -3,6 +3,11 @@ + + + + + @@ -19,68 +24,69 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -96,7 +102,8 @@ - + + @@ -112,7 +119,7 @@ - /usr/local/etc/php/conf.d/docker-php-ext-pcntl.ini + /usr/local/etc/php/conf.d/docker-php-ext-pcntl.ini, /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini /usr/local/etc/php/php.ini @@ -212,8 +219,8 @@ - + diff --git a/docker/Dockerfile b/docker/Dockerfile index cbd9a12..a20d2ad 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -7,7 +7,9 @@ FROM php:${PHP_BUILD_VERSION}-cli as build ARG BUILD_ROOT_PATH RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" -RUN apt-get update +RUN sed -i 's|deb.debian.org/debian|archive.debian.org/debian|g; s|security.debian.org/debian-security|archive.debian.org/debian-security|g' /etc/apt/sources.list \ + && printf 'Acquire::Check-Valid-Until "false";\n' > /etc/apt/apt.conf.d/99no-check-valid \ + && apt-get update RUN apt-get install -y zip unzip curl git RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" RUN php composer-setup.php --install-dir=/usr/bin --filename=composer @@ -22,6 +24,9 @@ FROM php:${PHP_TEST_VERSION}-cli as test ARG BUILD_ROOT_PATH RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" +RUN sed -i 's|deb.debian.org/debian|archive.debian.org/debian|g; s|security.debian.org/debian-security|archive.debian.org/debian-security|g' /etc/apt/sources.list \ + && printf 'Acquire::Check-Valid-Until "false";\n' > /etc/apt/apt.conf.d/99no-check-valid \ + && apt-get update RUN pecl install xdebug-2.9.8 RUN docker-php-ext-install pcntl RUN docker-php-ext-install posix From 7a9c6843b8aeb24210da9e1450cad1590b5fc08d Mon Sep 17 00:00:00 2001 From: Anton Ukhanev Date: Thu, 16 Jul 2026 17:18:06 +0200 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d18f258..a96eebd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [[*next-version*]] - YYYY-MM-DD +### Fixed +- IP address in `.env` (#8). +- Old Xdebug not installable (#8). ## [0.1.1-alpha3] - 2023-09-21 ### Fixed