Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2770 rexy 1
# phpSysInfo
2
# VERSION       3
3
 
4
FROM ubuntu:16.04
5
#FROM ubuntu:14.04
6
 
7
MAINTAINER phpSysInfo
8
 
9
# Update sources
10
#RUN echo "deb http://archive.ubuntu.com/ubuntu trusty main universe" > /etc/apt/sources.list
11
RUN apt-get update
12
 
13
RUN apt-get install -y apache2 php7.0 php7.0-xml php7.0-mbstring libapache2-mod-php7.0 git pciutils
14
#RUN apt-get install -y apache2 php5 git pciutils
15
 
16
RUN git clone https://github.com/phpsysinfo/phpsysinfo.git /var/www/html/phpsysinfo
17
RUN cp /var/www/html/phpsysinfo/phpsysinfo.ini.new /var/www/html/phpsysinfo/phpsysinfo.ini
18
#RUN cat /var/www/html/phpsysinfo/phpsysinfo.ini.new | sed 's/^LOAD_BAR=false/LOAD_BAR=true/' >/var/www/html/phpsysinfo/phpsysinfo.ini
19
 
20
ENV APACHE_RUN_USER www-data
21
ENV APACHE_RUN_GROUP www-data
22
ENV APACHE_LOG_DIR /var/log/apache2
23
ENV APACHE_LOCK_DIR /var/lock/apache2
24
ENV APACHE_PID_FILE /var/run/apache2/apache2.pid
25
 
26
CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"]
27
 
28
EXPOSE 80