docker error fix #188

This commit is contained in:
Ali Razmjoo 2019-02-01 15:25:55 +01:00
parent 85cbaab944
commit cbd8e6a654
2 changed files with 6 additions and 6 deletions

View File

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

View File

@ -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