Add the extdom and libxml2 to the PHP container.

This commit is contained in:
Dave Smith-Hayes 2024-11-15 01:07:38 +00:00
parent 6d8a972fef
commit 3da093350a

View File

@ -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