interm
This commit is contained in:
parent
11f532e8bf
commit
a96a35a911
14
Dockerfile
14
Dockerfile
@ -4,25 +4,23 @@ MAINTAINER Larry Price <larry@larry-price.com>
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN /usr/bin/lsb_release -a
|
||||
RUN apt-get update && apt-get install git postgresql sendmail sendmail-bin supervisor apache2 libjpeg-turbo8-dev fontconfig \
|
||||
RUN apt-get update && apt-get install git sendmail sendmail-bin supervisor apache2 libjpeg-turbo8-dev fontconfig \
|
||||
libapache2-mod-php5 php5-pgsql php5-curl php5-xmlrpc xfonts-75dpi openssl build-essential \
|
||||
xorg libssl-dev wget -y --force-yes
|
||||
xorg libssl-dev wget telnet nmap -y --force-yes
|
||||
RUN wget http://downloads.sourceforge.net/wkhtmltopdf/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
|
||||
RUN dpkg -i wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
|
||||
RUN cp -f /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
|
||||
|
||||
RUN service postgresql start
|
||||
|
||||
RUN git clone https://github.com/francoisjacquet/rosariosis.git /usr/src/rosariosis
|
||||
WORKDIR /usr/src/rosariosis
|
||||
RUN git checkout v2.8.12
|
||||
|
||||
RUN rm -rf /var/www/html && mkdir -p /var/www && ln -s /usr/src/rosariosis/ /var/www/html && chmod 777 /var/www/html
|
||||
|
||||
ADD bin/init /init
|
||||
ADD bin/start-apache2 /start-apache2
|
||||
ADD conf/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
ADD conf/config.inc.php /usr/src/rosariosis/config.inc.php
|
||||
COPY bin/init /init
|
||||
COPY bin/start-apache2 /start-apache2
|
||||
COPY conf/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY conf/config.inc.php /usr/src/rosariosis/config.inc.php
|
||||
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
|
@ -7,3 +7,9 @@ numprocs=1
|
||||
autostart=true
|
||||
autorestart=true
|
||||
|
||||
[program:ncat]
|
||||
command=/usr/bin/ncat -k -l 25 -e '/usr/bin/ncat 172.17.42.1 25'
|
||||
numprocs=1
|
||||
autostart=1
|
||||
autorestart=1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user