mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-24 14:32:57 +08:00
Update Dockerfile base image and installation commands
The base image in the Dockerfile has been updated to python:3.11-slim-bookworm from alpine:3 for a more tailored environment. The initial installation commands using apk have been replaced with apt commands. The apk commands were removed as they are not compatible with the new base image. This fixes compt issues with ujson
This commit is contained in:
parent
03e9bb34ef
commit
0183b674e0
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
FROM alpine:3
|
||||
FROM python:3.11-slim-bookworm
|
||||
LABEL maintainer="@jay_townsend1 & @NotoriousRebel1"
|
||||
RUN apk update && apk upgrade --available && apk add --no-cache musl-dev git libffi-dev gcc python3-dev pipx libxml2-dev libxslt-dev bash
|
||||
RUN mkdir -p "~/.local/share/theHarvester/static/"
|
||||
RUN apt update && apt install -y pipx git; apt clean; apt autoremove -y
|
||||
RUN pipx install git+https://github.com/laramies/theHarvester.git
|
||||
RUN pipx ensurepath
|
||||
ENTRYPOINT ["/root/.local/bin/restfulHarvest", "-H", "0.0.0.0", "-p", "80"]
|
||||
|
|
Loading…
Reference in a new issue