Newer
Older
wordpress / data / Docker / Dockerfile
@Pascal Gollor Pascal Gollor on 1 Jan 2018 333 bytes add png
FROM wordpress:4.9-php7.2-fpm

# install php extensions
RUN apt-get update
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev
RUN rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-png-dir=/usr --with-jpeg-dir=/usr
RUN docker-php-ext-install -j$(nproc) gd

#CMD ["php-fpm"]