From 3da093350afc4ff83038084d7dc5e8dd7e79f356 Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Fri, 15 Nov 2024 01:07:38 +0000 Subject: [PATCH] Add the extdom and libxml2 to the PHP container. --- dev/php/Dockerfile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/dev/php/Dockerfile b/dev/php/Dockerfile index d5653ea..9695a7c 100644 --- a/dev/php/Dockerfile +++ b/dev/php/Dockerfile @@ -6,9 +6,17 @@ RUN apt-get update && \ apt-get install -y libonig-dev \ zip \ libzip-dev \ - libpng-dev + libpng-dev \ + libxml2-dev -RUN docker-php-ext-install pdo pdo_mysql mbstring gd zip -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +RUN docker-php-ext-install pdo \ + pdo_mysql \ + mbstring \ + gd \ + zip \ + dom + +RUN curl -sS https://getcomposer.org/installer | \ + php -- --install-dir=/usr/local/bin --filename=composer