From 9b94f9409a61a039a06a64ad70d67dd625964168 Mon Sep 17 00:00:00 2001 From: Andreas Alexelis Date: Tue, 24 Sep 2019 20:47:54 +0900 Subject: [PATCH] Hack from https://github.com/DefectDojo/django-DefectDojo/issues/407 --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index bc39b72320..9e9a5e96af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,9 @@ ARG skip_ds_deps # Upgrade pip because it fails in the process RUN pip install --upgrade pip +#Hack from https://github.com/DefectDojo/django-DefectDojo/issues/407 +RUN sed '/st_mysql_options options;/a unsigned int reconnect;' /usr/include/mysql/mysql.h -i.bkp + # We first copy only the requirements file, to avoid rebuilding on every file # change. COPY requirements.txt requirements_bundles.txt requirements_dev.txt requirements_all_ds.txt ./