Sign inSign up

daoth/php

By daoth

•Updated over 6 years ago

Only use for dev environment

Image
0

209

daoth/php repository overview

⁠PHP extension enabled

  • bcmath
  • sockets
  • pcntl
  • pdo_mysql
  • xdebug
  • mongodb(enable SSL, crypto)
  • amqp

⁠Apache mod enable

  • rewrite

⁠System package installed

  • Comoser
  • Git
  • apt-utils wget zip unzip net-tools vim htop

⁠Dockerfile

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

Tag summary

Content type

Image

Digest

Size

31.2 MB

Last updated

over 6 years ago

docker pull daoth/php:fpm-lemp-mysql-out-of-docker