Skip to content

Commit

Permalink
Merge pull request #39 from voidz0r/master
Browse files Browse the repository at this point in the history
Updated libc6-dev dependency
  • Loading branch information
rezasp committed Apr 27, 2019
2 parents 3df42f5 + 6977c54 commit 4ca6886
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
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"]

0 comments on commit 4ca6886

Please sign in to comment.