mirror of
https://github.com/cloudflare/flan.git
synced 2026-10-16 21:12:47 +08:00
5077c92072
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
16 lines
460 B
Docker
16 lines
460 B
Docker
FROM python:3.9-alpine
|
|
|
|
COPY aws_push.py gcp_push.py output_report.py requirements.txt run.sh /
|
|
COPY contrib /contrib
|
|
COPY shared /shared
|
|
|
|
RUN apk add --no-cache nmap nmap-scripts git && \
|
|
pip install --no-cache-dir -r requirements.txt && \
|
|
git clone https://github.com/vulnersCom/nmap-vulners \
|
|
/usr/share/nmap/scripts/vulners && \
|
|
nmap --script-updatedb && \
|
|
apk del git && \
|
|
chmod +x /run.sh
|
|
|
|
ENTRYPOINT ["/bin/sh","-c","/run.sh"]
|