Dockerfile.isoweb
From Cactus Howto
Jump to navigationJump to search
FROM ubuntu:14.04.1 MAINTAINER itsecorg@cactus.de FROM ubuntu:12.04 MAINTAINER Kimbro Staken version: 0.1 RUN apt-get update && apt-get install -y apache2 libapache2-mod-php5 php5-pgsql php-pear && apt-get clean && rm -rf /var/lib/apt/lists/* \ a2enmod ssl ENV APACHE_RUN_USER www-data ENV APACHE_RUN_GROUP www-data ENV APACHE_LOG_DIR /var/log/apache2 COPY web /web COPY install/etc/httpd.conf /etc/apache2/sites-available/itsecorg.conf COPY install/etc/iso.conf /etc/ COPY install/etc/gui.conf /etc/ USER www-data RUN a2ensite itsecorg.conf EXPOSE 443 # Add VOLUMEs to allow backup of config, logs and databases VOLUME ["/etc/apache2", "/var/log/apache2", "/var/lib/apache2"] CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"]