From fca7560fa8eff146e6cd3f3d9fff4b8656983f44 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 5 Apr 2023 23:13:56 +1000 Subject: [PATCH] xdebug needs linux-headers --- Dockerfile.phptest | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile.phptest b/Dockerfile.phptest index a8e6004..f153b71 100644 --- a/Dockerfile.phptest +++ b/Dockerfile.phptest @@ -3,8 +3,7 @@ FROM registry.dege.au/leenooks/php:8.1-fpm-alpine -# Enable xdebug -RUN pecl_install xdebug - # Add other built tools -RUN apk add npm +RUN apk --no-cache add npm linux-headers \ + && pecl_install xdebug \ + && apk --no-cache del linux-headers