Files
piratepoet/tests/wordpressDockerfile/Dockerfile
Pavel Dohnal d844b7e47f Initial acceptance testing setup
[MAILPOET-997]
2017-08-17 08:13:10 +02:00

13 lines
493 B
Docker

FROM wordpress:latest
RUN apt-get update && \
apt-get -y install \
zlib1g-dev \
sudo less \
--no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
docker-php-ext-install bcmath zip mysqli pdo pdo_mysql && \
echo "date.timezone = UTC" >> /usr/local/etc/php/php.ini && \
mkdir -p /var/www/html/wp-content/uploads/mailpoet/cache && \
chmod 777 /var/www/html/wp-content/uploads/mailpoet/cache