Dockerfile 515 B

1234567891011121314151617181920
  1. FROM romeoz/docker-nginx-php:5.6
  2. RUN echo "START" \
  3. && apt-get update \
  4. && apt-get install -y php-pear \
  5. && pear config-set php_ini /etc/php5/fpm/php.ini \
  6. && pear config-show \
  7. && apt-get install -y build-essential \
  8. && apt-get install -y php5-dev \
  9. && apt-get install -y libcurl3-openssl-dev \
  10. && apt-get install -y libyaml-dev \
  11. && pecl install yaml \
  12. && rm -rf /var/lib/apt/lists/* \
  13. && echo "END"
  14. WORKDIR /var/www/app/
  15. EXPOSE 80 433
  16. CMD ["/usr/bin/supervisord"]