Files
flan/Dockerfile
Thomas Sjögren 5077c92072 bump to python:3.9-alpine
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
2021-02-27 23:06:13 +01:00

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"]