Add security-scanner

This commit is contained in:
jalr 2018-06-09 14:35:16 +02:00
parent b204cc06c4
commit 809a5e6012
16 changed files with 287 additions and 24 deletions

View 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)