You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM ubuntu:14.04
MAINTAINER Kate Smith [email protected]
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 CentOSDebianKaliBTOffline *.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=''/" 'Autosnort/Autosnort - Ubuntu/full_autosnort.conf'
RUN sed -i 's/^o_code=/o_code=/' 'Autosnort/Autosnort - Ubuntu/full_autosnort.conf'
RUN sed -i 's/^snort_mysql_pass=/snort_mysql_pass=/' 'Autosnort/Autosnort - Ubuntu/full_autosnort.conf'
RUN sed -i 's/^reboot_choice=1/reboot_choice=2/' 'Autosnort/Autosnort - Ubuntu/full_autosnort.conf'
RUN sed -i 's/^snort_iface=eth1/snort_iface=enp5s0/' 'Autosnort/Autosnort - Ubuntu/full_autosnort.conf'
WORKDIR 'Autosnort/Autosnort - Ubuntu/'
RUN './autosnort-ubuntu-10-30-2015.sh'
Remove build dependencies.
RUN cd /tmp &&
yum -y remove $(diff prebuild-rpms postbuild-rpms | awk '/^>/ { print $2 }')
Cleanup.
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.
The text was updated successfully, but these errors were encountered: