3 MAINTAINER Ricardson Williams <ricardsonwilliams@gmail.com>
19 && mkdir -p /run/apache2 \
20 && sed -ri 's/#ServerName www.example.com:80/ServerName localhost:80/g' /etc/apache2/httpd.conf \
21 && sed -ri 's/AllowOverride None/AllowOverride All/g' /etc/apache2/httpd.conf \
22 && sed -ri -e 's!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g' \
23 -e 's!^(\s*ErrorLog)\s+\S+!\1 /proc/self/fd/2!g' \
24 /etc/apache2/httpd.conf \
25 && sed -i s/#PermitRootLogin.*/PermitRootLogin\ yes/ /etc/ssh/sshd_config \
26 && echo "root:root" | chpasswd
31 ADD index.php /var/www/localhost/htdocs/index.php
37 ENTRYPOINT ["/entrypoint.sh"]