DEV Community

Dimitrios Desyllas
Dimitrios Desyllas

Posted on

What is required library needed for installing xmlreader in php:7.2-fpm-alpine custom docker image?

Hello guys can you help me to install the xmlreader into my custom php docker image using?

For this composer package I need the xmlreader into my custom docker php image:

FROM php:7.2-fpm-alpine

RUN apk add --update libzip-dev libmcrypt-dev libpng-dev libjpeg-turbo-dev libxml2-dev icu-dev postgresql-dev curl-dev libmemcached-dev &&\
    apk add --update --virtual build-dependencies build-base gcc wget autoconf &&\   
    docker-php-ext-install gd && \
    docker-php-ext-install zip &&\
    docker-php-ext-install dom xml

Top comments (0)