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.

Dockerfile 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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-imap &&\
  14. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  15. RUN /usr/sbin/a2enmod rewrite &&\
  16. rm -rf /var/www/html &&\
  17. mkdir -p /var/lock/apache2 /var/run/apache2 /var/log/apache2 /var/www/html &&\
  18. chown -R www-data:www-data /var/lock/apache2 /var/run/apache2 /var/log/apache2 /var/www/html
  19. RUN rm -rf /var/log/* &&\
  20. mkdir -p /var/log/apache2 &&\
  21. ln -s /dev/stderr /var/log/apache2/error.log &&\
  22. ln -s /dev/stdout /var/log/apache2/access.log &&\
  23. ln -s /dev/stdout /var/log/apache2/other_vhosts_access.log
  24. COPY apache2.conf /etc/apache2/apache2.conf
  25. COPY ./poweradmin-2.1.7/ /var/www/html/
  26. COPY ./vars-vars /etc/vars-vars
  27. COPY ./vars-files /etc/vars-files
  28. COPY ./run.sh /run.sh
  29. EXPOSE 80
  30. CMD ["/run.sh"]