Skip to content

Commit

Permalink
Add support for docker installation
Browse files Browse the repository at this point in the history
Signed-off-by: Mostafa Hussein <[email protected]>
  • Loading branch information
mostafahussein committed Oct 2, 2018
1 parent e3ccf9f commit 215b3f1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM perl:5-slim
LABEL maintainer="Mostafa Hussein <[email protected]>"
ADD ./ /home/joomscan
WORKDIR /home/joomscan
RUN adduser joomscan --disabled-password --disabled-login --gecos "" --no-create-home --home /home/joomscan && chown joomscan:joomscan /home/joomscan -R
RUN apt-get update && apt-get install -y gcc && cpanm Bundle::LWP
USER joomscan
ENTRYPOINT ["perl", "joomscan.pl"]
CMD ["-h"]
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Automated ...<br>
cd joomscan
perl joomscan.pl

For Docker installation

# Build the docker image
docker build -t rezasp/joomscan .

# JOOMSCAN ARGUMENTS

Expand Down Expand Up @@ -117,4 +121,4 @@ Update Joomscan...<br>
<br><br>
OWASP JoomScan introduction (Youtube)

[![OWASP JoomScan introduction](https://img.youtube.com/vi/Ik2CJ9LkuoI/0.jpg)](https://www.youtube.com/watch?v=Ik2CJ9LkuoI)
[![OWASP JoomScan introduction](https://img.youtube.com/vi/Ik2CJ9LkuoI/0.jpg)](https://www.youtube.com/watch?v=Ik2CJ9LkuoI)

0 comments on commit 215b3f1

Please sign in to comment.