Skip to content

Commit

Permalink
Merge pull request #37 from gdestuynder/master
Browse files Browse the repository at this point in the history
support LWP::Protocol::https (i.e. HTTPS scans) in the Docker image
  • Loading branch information
rezasp committed Apr 27, 2019
2 parents 59ded07 + e140c1e commit 3df42f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ 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 --no-install-recommends libc6-dev=2.24-11+deb9u3 gcc=4:6.3.0-4 && rm /var/lib/apt/lists/* -R && cpanm Bundle::LWP
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
USER joomscan
ENTRYPOINT ["perl", "joomscan.pl"]
CMD ["-h"]

0 comments on commit 3df42f5

Please sign in to comment.