Open mgaulton opened 8 years ago
I took a stab at it, work in progress.
FROM ubuntu:14.04 MAINTAINER Kate Smith ksmith@example.com RUN apt-get update && apt-get -y install git openssh-server grep ssh-client RUN rm /bin/sh && ln -s /bin/bash /bin/sh RUN start ssh
RUN git clone https://github.com/mgaulton/Autosnort.git RUN rm -rf CentOS Debian Kali BT Offline .txt .pdf RUN chmod a+x 'Autosnort/Autosnort - Ubuntu/autosnort-ubuntu-10-30-2015.sh'
RUN sed -i "s/^root_mysql_pass=''/root_mysql_pass='
WORKDIR 'Autosnort/Autosnort - Ubuntu/'
RUN './autosnort-ubuntu-10-30-2015.sh'
RUN cd /tmp && \ yum -y remove $(diff prebuild-rpms postbuild-rpms | awk '/^>/ { print $2 }')
RUN yum clean all && \ rm -rf /var/log/* || true \ rm -rf /var/tmp/* \ rm -rf /tmp/*
Any chance this would work inside docker? I've been looking for something exactly like this.