Skip to content

Commit

Permalink
adding a cleaning step start fresh
Browse files Browse the repository at this point in the history
  • Loading branch information
wickett committed Jan 25, 2018
1 parent 00af564 commit a08e5e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN \
RUN gem install gauntlt --no-rdoc --no-ri

# Install Attack tools
WORKDIR /opt

# arachni
RUN wget https://github.com/Arachni/arachni/releases/download/v1.5.1/${ARACHNI_VERSION}-linux-x86_64.tar.gz && \
Expand All @@ -35,8 +36,6 @@ 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
WORKDIR /opt

RUN apt-get update \
&& apt-get install -y libtimedate-perl libnet-ssleay-perl \
&& rm -rf /var/lib/apt/lists/*
Expand All @@ -48,5 +47,4 @@ RUN git clone --depth=1 https://github.com/sullo/nikto.git && \
chmod +x nikto.pl && \
ln -s /opt/nikto/program/nikto.pl /usr/local/bin/nikto


ENTRYPOINT [ "/usr/local/bin/gauntlt" ]
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ clean:
@echo "Removing unused docker containers..."
@./docker-clean.sh

clean-all: clean
@echo "Removing gauntlt image..."
@docker rmi gauntlt

interactive:
@docker run -it --entrypoint /bin/bash gauntlt

Expand All @@ -19,6 +23,7 @@ help:
@echo "the help menu"
@echo " make build"
@echo " make clean"
@echo " make clean-all"
@echo " make help"
@echo " make install-stub"
@echo " make interactive"
Expand Down

0 comments on commit a08e5e3

Please sign in to comment.