Difference between revisions of "Dockerfile.isoweb"
From Cactus Howto
Jump to navigationJump to search (Die Seite wurde neu angelegt: „<pre> 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 apach…“) |
|||
Line 3: | Line 3: | ||
MAINTAINER itsecorg@cactus.de |
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/* \ |
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 |
a2enmod ssl |
Revision as of 10:26, 21 December 2014
FROM ubuntu:14.04.1 MAINTAINER itsecorg@cactus.de 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"]