From 41b862a7dad57ea911de9e8ebaf61813d8c39a94 Mon Sep 17 00:00:00 2001 From: pyblub Date: Sun, 3 Oct 2021 18:52:37 +0200 Subject: [PATCH] pycurl with openssl avoid known issue with pycurl: https://github.com/xmendez/wfuzz/wiki/PyCurlSSLBug --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 56b3ef2b3..c12443441 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,14 @@ FROM ubuntu:bionic MAINTAINER Patrick Oberdorf "patrick@oberdorf.net" -ENV DEBIAN_FRONTEND=noninteractive +ENV DEBIAN_FRONTEND=noninteractive PYCURL_SSL_LIBRARY=openssl RUN apt-get update && apt-get install -y python \ + libcurl4-openssl-dev \ + libssl-dev \ locales \ python-setuptools \ python-requests \ - python-pycurl \ python-crypto \ python-pil \ python-pyxmpp \ @@ -28,7 +29,7 @@ RUN apt-get update && apt-get install -y python \ gosu \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ - && pip install Send2Trash + && pip install Send2Trash pycurl # Set the locale RUN locale-gen en_US.UTF-8