Add security-scanner
This commit is contained in:
parent
b204cc06c4
commit
809a5e6012
16 changed files with 287 additions and 24 deletions
19
security-scanner/Dockerfile
Normal file
19
security-scanner/Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
FROM debian:stretch-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install \
|
||||
ca-certificates \
|
||||
curl \
|
||||
python3 \
|
||||
python3-apt \
|
||||
python3-pip \
|
||||
python3-urllib3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt /tmp/requirements.txt
|
||||
|
||||
RUN pip3 install -r /tmp/requirements.txt
|
||||
|
||||
ADD . /code
|
||||
|
||||
RUN (cd /code && python3 setup.py install)
|
||||
Loading…
Add table
Add a link
Reference in a new issue