FROM php:7-apache
WORKDIR /var/www/html RUN ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN apt-get update && apt-get install -y apt-utils wget git git-core zip unzip net-tools vim htop RUN docker-php-ext-install bcmath pdo_mysql sockets pcntl RUN apt-get install -y libcurl4-openssl-dev pkg-config libssl-dev && pecl install mongodb && docker-php-ext-enable mongodb RUN apt-get install -y librabbitmq-dev libevent-dev libssl-dev && pecl install event-2.3.0 amqp-1.9.3 RUN pecl install xdebug
EXPOSE 80
Content type
Image
Digest
Size
31.2 MB
Last updated
over 6 years ago
docker pull daoth/php:fpm-lemp-mysql-out-of-docker