Skip to content

Commit

Permalink
fix container build by adding --break-system-packages due to missing …
Browse files Browse the repository at this point in the history
…packages in repo
  • Loading branch information
randomstr1ng committed Dec 8, 2023
1 parent 1daf3de commit ebc15d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ RUN VERSION=$(curl -s https://api.pdtm.sh/api/v1/tools/nuclei | jq '.tools[0]["v
ADD ./nuclei-sap-templates/ /tools/nuclei-sap-templates
ADD ./tools/ /tools
# Install tools requirements
RUN pip3 install -r /tools/requirements.txt && rm /tools/requirements.txt && chmod +x /tools/*.py
RUN pip3 install -r /tools/requirements.txt --break-system-packages && rm /tools/requirements.txt && chmod +x /tools/*.py

# Install & setup SAPstart service enumeration tool
RUN git clone --depth=1 https://github.com/randomstr1ng/sapstartsrv-enumeration/ /tools/sapstartsrv-enumeration && \
chmod +x /tools/sapstartsrv-enumeration/*.py && \
pip3 install -r /tools/sapstartsrv-enumeration/requirements.txt
pip3 install -r /tools/sapstartsrv-enumeration/requirements.txt --break-system-packages

# Final Setup
ENV PS1='\e[0;32m\u@sap-attack-surface\e[m:\e[1;33m\w\e[m\n\$ '
Expand Down

0 comments on commit ebc15d9

Please sign in to comment.