From c7de69827450ce3a30e46f31b6fcc1ef3299a665 Mon Sep 17 00:00:00 2001 From: Samuel Weirich <4281791+SamuelWei@users.noreply.github.com> Date: Mon, 6 Jan 2025 14:50:06 +0100 Subject: [PATCH] Fix xdebug always enabled (#1727) * Fix xdebug always enabled * Update changelog --- CHANGELOG.md | 1 + docker/app/Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7a40f2e6..9feee9315 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Wrong permission check when showing create new server pool button ([#1724]) - Styling issue in the role selection dropdown on the user index view ([#1724]) - Broken permission checks when loading the user view/edit page in the admin UI ([#1724]) +- xdebug always enabled ([#1727]) ### Removed diff --git a/docker/app/Dockerfile b/docker/app/Dockerfile index 2b3c6dd64..86735c765 100644 --- a/docker/app/Dockerfile +++ b/docker/app/Dockerfile @@ -32,7 +32,8 @@ RUN apk --no-cache add \ # Add PHP extensions ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ RUN chmod +x /usr/local/bin/install-php-extensions \ - && install-php-extensions redis pcntl bcmath pdo_mysql pdo_pgsql pgsql ldap zip opcache soap xdebug gd @composer + && install-php-extensions redis pcntl bcmath pdo_mysql pdo_pgsql pgsql ldap zip opcache soap xdebug gd @composer \ + && rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini # Change www-data user and group id RUN apk add --no-cache --virtual .mod-deps shadow \