Commit 6c747cbd authored by Kilian Low's avatar Kilian Low
Browse files


parent 8be486bb
# The commanded lines should work but unfortunately their is an issue in the .run script as explained in the report
FROM debian:stable
#Install dependencies in non interactive mode to avoid blocking installing when not answering prompt
ENV DEBIAN_FRONTEND noninteractive
VOLUME /source
WORKDIR /source
#COPY files in current folder
COPY csrf.html .
COPY reset.sql .
RUN apt-get update && \
apt-get -y install vim file wget && \
# tar apache2 apache2-utils libapache2-mod-php openssh-client php php-ldap php-mbstring php-mcrypt php-mysql php-snmp php-simplexml nmap zip curl sshpass screen smbclient logrotate libtime-modules-perl ipmitool rrdtool && \
# installing mysql-server manually to avoid issue
apt-get -y install mysql-server && \
# reset mysql password to 'null'
service mysql stop
CMD ["mysqld_safe", "--skip-grant-tables", "--skip-networking"]
#RUN cat reset.sql | mysql -uroot && \
# wget && \
# chmod +x && \
# ./
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment