Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafahussein committed Oct 2, 2018
1 parent 215b3f1 commit 850317e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
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"]

0 comments on commit 850317e

Please sign in to comment.