You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637
  1. FROM debian:jessie
  2. # FROM https://github.com/ZHAJOR/Docker-Apache-2.4-Php-5.6-for-Laravel
  3. MAINTAINER Robin Thoni <robin@rthoni.com>
  4. RUN apt-get update && apt-get -y install\
  5. apache2=2.4.*\
  6. libapache2-mod-php5\
  7. php5\
  8. php5-mcrypt\
  9. php5-pgsql\
  10. php5-mysql\
  11. php5-gd\
  12. php5-curl\
  13. php5-intl\
  14. php5-ldap\
  15. php5-imap &&\
  16. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* &&\
  17. /usr/sbin/a2enmod rewrite &&\
  18. rm -rf /var/www/html &&\
  19. mkdir -p /var/lock/apache2 /var/run/apache2 /var/log/apache2 /var/www/html &&\
  20. chown -R www-data:www-data /var/lock/apache2 /var/run/apache2 /var/log/apache2 /var/www/html &&\
  21. ln -sf /dev/stderr /var/log/apache2/error.log &&\
  22. ln -sf /dev/stdout /var/log/apache2/access.log
  23. COPY ./apache2.conf /etc/apache2/apache2.conf
  24. COPY run.sh /run.sh
  25. EXPOSE 80
  26. COPY ./roundcubemail-1.2.2/ /var/www/html/
  27. RUN ln -s /dev/stderr /var/www/html/logs/errors
  28. CMD ["/run.sh"]