Rev 111 | Rev 148 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
FROM ubuntu:16.04RUN \DEBIAN_FRONTEND=noninteractive && \apt-get update && \apt-get install -y \build-essential \apt-utils \ssl-cert \apache2 \apache2-utils \apache2-dev \libapache2-mod-perl2 \libapache2-mod-perl2-dev \libcgi-pm-perl \liblocal-lib-perl \cpanminus \libexpat1-dev \libssl-dev \mysql-client \libmysqlclient-dev \libapreq2-dev \zip && \cpanm --force \DBD::mysql \DateTime \Data::ICal::Entry::Event \Data::ICal \Data::ICal::Entry::Event \Date::Calc \# Date::ICal \Email::Sender::Simple \Email::Sender::Transport::SMTPS \Email::Simple \Email::Simple::Creator \Email::Valid \Spreadsheet::WriteExcel \HTML::Tiny \Net::Domain::TLD \Email::MessageIDRUN \a2enmod cgid && \a2enmod rewrite && \a2dissite 000-default && \apt-get update -y && \apt-get upgrade -y && \apt-get -y cleanCOPY localhost.conf /etc/apache2/sites-enabled/localhost.confCOPY entrypoint.sh /etc/apache2/entrypoint.shCOPY .my.cnf /tmp/.my.cnfVOLUME ["/var/www/html"]VOLUME ["/usr/local/lib/site_perl"]VOLUME ["/root/RCUtils"]CMD ["apachectl", "-DFOREGROUND"]EXPOSE 80