Newer
Older
wordpress / data / Docker / Dockerfile
@Pascal Gollor Pascal Gollor on 22 Dec 2018 381 bytes Update Dockerfile
FROM wordpress:5-fpm

ARG GIT_COMMIT=unspecified
LABEL git_commit=$GIT_COMMIT

# 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"]