Skip to content

Commit

Permalink
Dockerfile and readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafahussein committed Oct 21, 2018
1 parent c12b4f5 commit 7140891
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM perl:5-slim
LABEL maintainer="Mostafa Hussein <[email protected]>"
LABEL author="Mostafa Hussein <[email protected]>"
COPY . /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
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,17 @@ Automated ...<br>
cd joomscan
perl joomscan.pl

For Docker installation
For Docker installation and usage

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

# Run a new docker container with reports directory mounted at the host
docker run -v /path/to/reports:/home/joomscan/reports --name joomscan_cli rezasp/joomscan

# For accessing the docker container you can run the following command
docker run -v /path/to/reports:/home/joomscan/reports --name joomscan_cli --entrypoint /bin/bash rezasp/joomscan

# JOOMSCAN ARGUMENTS

Usage: joomscan.pl [options]
Expand Down

0 comments on commit 7140891

Please sign in to comment.