Commit c2751d39 authored by Kilian Low's avatar Kilian Low

Update Dockerfile

parent 64115433
# 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
......@@ -14,15 +12,11 @@ COPY install.sh .
RUN apt-get update && \
apt-get -y install vim file wget && \
# installing mysql-server manually to avoid issue
# installing mysql-server manually to avoid issue
apt-get -y install mysql-server && \
service mysql stop
# In a second terminal session:
# mysqld_safe --skip-grant-tables --skip-syslog --skip-networking && \
# cat reset.sql | mysql -u root && \
# mysqladmin shutdown && \
# service mysql start && \
# 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
service mysql stop && \
chmod +x install.sh && \
./install.sh
# The install.sh script has two goals: 1) reset password of the mysql-server 2) download and install Open-AudIT and serve it to a local port
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