From 0f012d5b56d0a052586be97c4f1841758fb43e49 Mon Sep 17 00:00:00 2001
From: Julian <julian@cccv.de>
Date: Sun, 12 Sep 2021 20:12:34 +0000
Subject: [PATCH] Install python3-mysqldb

---
 Dockerfile.bullseye | 3 +--
 Dockerfile.buster   | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/Dockerfile.bullseye b/Dockerfile.bullseye
index d1cd9c4..00cefbf 100644
--- a/Dockerfile.bullseye
+++ b/Dockerfile.bullseye
@@ -7,9 +7,8 @@ RUN apt-get -qq update && \
         sqlite3 locales-all git \
         python3 python3-venv python3-coverage python3-ldap3 python3-flask python3-flask-sqlalchemy python3-flask-migrate \
         python3-pip python3-qrcode python3-fido2 python3-oauthlib python3-flask-babel python3-pytest python3-all python3-pip \
-        git-buildpackage debhelper dh-python mariadb-server && \
+        git-buildpackage debhelper dh-python mariadb-server python3-mysqldb && \
     pip3 install pylint html5validator twine build --upgrade && \
-    mysql_secure_installation && \
     apt-get -qq clean
 
 FROM uffd-base AS openldap-base
diff --git a/Dockerfile.buster b/Dockerfile.buster
index 22da9cd..f973e24 100644
--- a/Dockerfile.buster
+++ b/Dockerfile.buster
@@ -7,9 +7,8 @@ RUN apt-get -qq update && \
         sqlite3 locales-all git \
         python3 python3-venv python3-coverage python3-ldap3 python3-flask python3-flask-sqlalchemy python3-flask-migrate \
         python3-pip python3-qrcode python3-fido2 python3-oauthlib python3-flask-babel python3-pytest python3-all python3-pip \
-        git-buildpackage debhelper dh-python mariadb-server && \
+        git-buildpackage debhelper dh-python mariadb-server python3-mysqldb && \
     pip3 install pylint html5validator twine build --upgrade && \
-    mysql_secure_installation && \
     apt-get -qq clean
 
 FROM uffd-base AS openldap-base
-- 
GitLab