Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Dockerfile 955B

1234567891011121314151617181920212223242526272829
  1. FROM robinthoni/debian-multiarch: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. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  9. RUN /usr/sbin/a2enmod rewrite &&\
  10. rm -rf /var/www/html &&\
  11. mkdir -p /var/lock/apache2 /var/run/apache2 /var/log/apache2 /var/www/html &&\
  12. chown -R www-data:www-data /var/lock/apache2 /var/run/apache2 /var/log/apache2 /var/www/html
  13. RUN rm -rf /var/log/* &&\
  14. mkdir -p /var/log/apache2 &&\
  15. ln -s /dev/stderr /var/log/apache2/error.log &&\
  16. ln -s /dev/stdout /var/log/apache2/access.log &&\
  17. ln -s /dev/stdout /var/log/apache2/other_vhosts_access.log
  18. COPY ./config/apache2.conf /etc/apache2/apache2.conf
  19. COPY ./wwwroot/ /var/www/html/
  20. EXPOSE 80
  21. CMD "/usr/sbin/apache2ctl" "-D" "FOREGROUND"