From 4fa5c301c29f745601385e1dfad21f19995088d2 Mon Sep 17 00:00:00 2001 From: Yuttapichai Lamnaonan Date: Wed, 28 Oct 2020 20:55:52 +0700 Subject: [PATCH] changed python alpine based to python debian based --- Dockerfile | 5 +++-- README.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4b9fc88..cfb0c36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3-alpine +FROM python:3-slim-buster LABEL name photon LABEL src "https://github.com/s0md3v/Photon" @@ -6,7 +6,8 @@ LABEL creator s0md3v LABEL dockerfile_maintenance khast3x LABEL desc "Incredibly fast crawler designed for reconnaissance." -RUN apk add git && git clone https://github.com/s0md3v/Photon.git Photon +RUN apt-get update && apt-get install -y git \ + && git clone https://github.com/s0md3v/Photon.git Photon WORKDIR Photon RUN pip install -r requirements.txt diff --git a/README.md b/README.md index bf1de88..82b33fa 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Still, crawling can be resource intensive but Photon has some tricks up it's sle #### Docker -Photon can be launched using a lightweight Python-Alpine (103 MB) Docker image. +Photon can be launched using a slim Debian-based Python (230MB) Docker image. ```bash $ git clone https://github.com/s0md3v/Photon.git