forked from OWASP/joomscan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
215b3f1
commit 850317e
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
FROM perl:5-slim | ||
LABEL maintainer="Mostafa Hussein <[email protected]>" | ||
ADD ./ /home/joomscan | ||
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 | ||
RUN apt-get update && apt-get install -y gcc && cpanm Bundle::LWP | ||
RUN apt-get update && apt-get install -y gcc=4:6.3.0-4 && rm /var/lib/apt/lists/* -R && cpanm Bundle::LWP | ||
USER joomscan | ||
ENTRYPOINT ["perl", "joomscan.pl"] | ||
CMD ["-h"] |