From 850317ef9e087c9d10c8fa5f3cb8e74f23622a7f Mon Sep 17 00:00:00 2001 From: Mostafa Hussein Date: Tue, 2 Oct 2018 12:40:24 +0200 Subject: [PATCH] update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 99de747..fb51f45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM perl:5-slim LABEL maintainer="Mostafa Hussein " -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"]