-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from voidz0r/master
Updated libc6-dev dependency
- Loading branch information
Showing
1 changed file
with
1 addition
and
5 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,11 +1,7 @@ | ||
# Author: Mostafa Hussein (mostafa.hussein91@gmail.com) | ||
FROM perl:5-slim | ||
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 libc6-dev gcc libcrypt-ssleay-perl openssl libssl-dev libz-dev && \ | ||
rm /var/lib/apt/lists/* -R | ||
RUN cpanm Bundle::LWP && cpanm LWP::Protocol::https | ||
RUN apt-get update && apt-get install -y --no-install-recommends libc6-dev=2.24-11+deb9u3 gcc=4:6.3.0-4 && rm /var/lib/apt/lists/* -R && cpanm Bundle::LWP | ||
USER joomscan | ||
ENTRYPOINT ["perl", "joomscan.pl"] | ||
CMD ["-h"] |