From 488e5f9e508a4223c8ded7a439ad2c89e7466d62 Mon Sep 17 00:00:00 2001 From: Zayscott Date: Tue, 23 Mar 2021 15:28:29 +0800 Subject: [PATCH 1/2] Create Dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ffdf327 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM python:3.6-slim-stretch + +LABEL MAINTAINER "supj@gmail.com" + +RUN echo "deb http://mirrors.ustc.edu.cn/debian/ stretch main \ +deb http://mirrors.ustc.edu.cn/debian-security stretch/updates main \ +deb http://mirrors.ustc.edu.cn/debian stretch-updates main"> /etc/apt/sources.list + +RUN apt-get update && \ + apt-get install -y git + +RUN /usr/local/bin/python -m pip install --upgrade pip && \ + pip install requests bs4 click + +RUN git clone https://github.com/HatBoy/Struts2-Scan.git + +RUN echo '#!/bin/bash \ +sleep infinity' > start.sh + +ENTRYPOINT ["/bin/bash", "start.sh"] From a81eb64b3e0046a5e6a0135ca12fc2f8c4990a50 Mon Sep 17 00:00:00 2001 From: Zayscott Date: Mon, 12 Jul 2021 15:32:19 +0800 Subject: [PATCH 2/2] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ffdf327..560983e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM python:3.6-slim-stretch -LABEL MAINTAINER "supj@gmail.com" +LABEL MAINTAINER "supwangj@gmail.com" RUN echo "deb http://mirrors.ustc.edu.cn/debian/ stretch main \ deb http://mirrors.ustc.edu.cn/debian-security stretch/updates main \