1234567891011121314151617181920 |
- FROM romeoz/docker-nginx-php:5.6
- RUN echo "START" \
- && apt-get update \
- && apt-get install -y php-pear \
- && pear config-set php_ini /etc/php5/fpm/php.ini \
- && pear config-show \
- && apt-get install -y build-essential \
- && apt-get install -y php5-dev \
- && apt-get install -y libcurl3-openssl-dev \
- && apt-get install -y libyaml-dev \
- && pecl install yaml \
- && rm -rf /var/lib/apt/lists/* \
- && echo "END"
- WORKDIR /var/www/app/
- EXPOSE 80 433
- CMD ["/usr/bin/supervisord"]
|