Skip to content

Commit

Permalink
installing arachni outside of rubygems now
Browse files Browse the repository at this point in the history
  • Loading branch information
wickett committed Jan 25, 2018
1 parent bf3499c commit 00af564
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
FROM ubuntu:16.04
MAINTAINER [email protected]

# Install Ruby.
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 \
git \
libcurl3 \
libcurl4-openssl-dev \
wget \
zlib1g-dev \
libfontconfig \
libxml2-dev \
libxslt1-dev \
ruby \
Expand All @@ -24,8 +28,11 @@ RUN gem install gauntlt --no-rdoc --no-ri

# Install Attack tools

# Install arachni
RUN gem install arachni -v 1.5.1 --no-rdoc --no-ri
# arachni
RUN wget https://github.com/Arachni/arachni/releases/download/v1.5.1/${ARACHNI_VERSION}-linux-x86_64.tar.gz && \
tar xzvf ${ARACHNI_VERSION}-linux-x86_64.tar.gz && \
mv ${ARACHNI_VERSION} /usr/local && \
ln -s /usr/local/${ARACHNI_VERSION}/bin/* /usr/local/bin/

# Nikto
WORKDIR /opt
Expand Down

0 comments on commit 00af564

Please sign in to comment.