Upgrade to Python 3.13 and enhance Dockerfile setup

Update base image to Python 3.13 and adjust pipx installation accordingly. Add curl and gcc installations, and ensure bashrc sourcing for environment setup.
This commit is contained in:
L1ghtn1ng
2024-10-27 01:12:37 +00:00
parent 5b83e45a8a
commit 4cf270724e
+4 -3
View File
@@ -1,7 +1,8 @@
FROM python:3.12-slim-bookworm
FROM python:3.13-slim-bookworm
LABEL maintainer="@jay_townsend1 & @NotoriousRebel1"
RUN apt update && apt install -y pipx git && rm -rf /var/lib/apt/lists/*
RUN pipx install --python python3.12 git+https://github.com/laramies/theHarvester.git
RUN apt update && apt install -y pipx git curl gcc && rm -rf /var/lib/apt/lists/*
RUN pipx install --python python3.13 git+https://github.com/laramies/theHarvester.git
RUN pipx ensurepath
RUN source ~/.bashrc
ENTRYPOINT ["/root/.local/bin/restfulHarvest", "-H", "0.0.0.0", "-p", "80"]
EXPOSE 80