Skip to content

Commit

Permalink
Refactoring docker
Browse files Browse the repository at this point in the history
  • Loading branch information
wickett committed Feb 5, 2018
1 parent fe5c5c3 commit 3393a8b
Showing 1 changed file with 30 additions and 25 deletions.
55 changes: 30 additions & 25 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,27 @@ MAINTAINER [email protected]
ARG ARACHNI_VERSION=arachni-1.5.1-0.5.12

# Install Ruby and other OS stuff
RUN \
apt-get update && \
apt-get install -y build-essential \
bzip2 \
ca-certificates \
curl \
gcc \
git \
libcurl3 \
libcurl4-openssl-dev \
wget \
zlib1g-dev \
libfontconfig \
libxml2-dev \
libxslt1-dev \
make \
python-pip \
python2.7 \
python2.7-dev \
ruby \
ruby-dev \
ruby-bundler && \
RUN apt-get update && \
apt-get install -y build-essential \
bzip2 \
ca-certificates \
curl \
gcc \
git \
libcurl3 \
libcurl4-openssl-dev \
wget \
zlib1g-dev \
libfontconfig \
libxml2-dev \
libxslt1-dev \
make \
python-pip \
python2.7 \
python2.7-dev \
ruby \
ruby-dev \
ruby-bundler && \
rm -rf /var/lib/apt/lists/*

# Install Gauntlt
Expand All @@ -41,9 +40,10 @@ RUN wget https://github.com/Arachni/arachni/releases/download/v1.5.1/${ARACHNI_V
ln -s /usr/local/${ARACHNI_VERSION}/bin/* /usr/local/bin/

# Nikto
RUN apt-get update \
&& apt-get install -y libtimedate-perl libnet-ssleay-perl \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && \
apt-get install -y libtimedate-perl \
libnet-ssleay-perl && \
rm -rf /var/lib/apt/lists/*

RUN git clone --depth=1 https://github.com/sullo/nikto.git && \
cd nikto/program && \
Expand All @@ -68,4 +68,9 @@ RUN wget https://downloads.sourceforge.net/project/dirb/dirb/2.22/dirb222.tar.gz

ENV DIRB_WORDLISTS /opt/dirb222/wordlists

# nmap
RUN apt-get update && \
apt-get install -y nmap && \
rm -rf /var/lib/apt/lists/*

ENTRYPOINT [ "/usr/local/bin/gauntlt" ]

0 comments on commit 3393a8b

Please sign in to comment.