mirror of https://github.com/OWASP/Nettacker.git
docker error fix #188
This commit is contained in:
parent
85cbaab944
commit
cbd8e6a654
10
Dockerfile
10
Dockerfile
|
|
@ -1,7 +1,7 @@
|
|||
FROM python:2.7-alpine
|
||||
RUN apk add --no-cache python pkgconfig python-dev openssl-dev libffi-dev musl-dev make gcc git curl-dev librtmp libxml2-dev libxslt-dev
|
||||
FROM ubuntu
|
||||
RUN apt update
|
||||
RUN apt install -y python python-pip python-dev openssl libffi-dev musl-dev make gcc git curl librtmp* libxml2-dev libxslt-dev
|
||||
WORKDIR /usr/src/owaspnettacker
|
||||
RUN git clone https://github.com/zdresearch/OWASP-Nettacker.git .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN apk del --purge musl-dev gcc make
|
||||
CMD [ "python", "./nettacker.py" ]
|
||||
RUN cat requirements.txt | xargs -n 1 pip install
|
||||
CMD [ "python", "./nettacker.py" ]
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ pyOpenSSL==18.0.0
|
|||
flask==1.0.2
|
||||
lockfile==0.12.2
|
||||
bs4==0.0.1
|
||||
pycurl==7.43.0.1
|
||||
#pycurl==7.43.0.1
|
||||
pyspf
|
||||
sqlalchemy==1.2.9
|
||||
canari==3.2.2
|
||||
|
|
|
|||
Loading…
Reference in New Issue