Dockerfile
FROM thiagobarradas/lamp:php-5.6
RUN rm /var/www/html/phpinfo.php /var/www/html/index.html
ADD 漏洞环境源码 /var/www/html
#设置mysql密码,账号为admin*
ENV MYSQL_PASS=admin
RUN chmod -R 777 /var/www/html
Dockerfile
FROM thiagobarradas/lamp:php-5.6
RUN rm /var/www/html/phpinfo.php /var/www/html/index.html
ADD 漏洞环境源码 /var/www/html
#设置mysql密码,账号为admin*
ENV MYSQL_PASS=admin
RUN chmod -R 777 /var/www/html