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

Dockerfile

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 .
COPY OAE-Linux-x86_64-release_2.1.run .
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 http://dl-openaudit.opmantek.com/OAE-Linux-x86_64-release_2.1.run && \
# chmod +x OAE-Linux-x86_64-release_2.1.run && \
# ./OAE-Linux-x86_64-release_2.1.run
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