From 0d535dbeeaab131ad8d536e5b64c2d9d4aaa9127 Mon Sep 17 00:00:00 2001
From: Julian <julian@cccv.de>
Date: Sun, 12 Sep 2021 16:39:23 +0000
Subject: [PATCH] Fixed mysql installation

---
 Dockerfile.bullseye | 1 +
 Dockerfile.buster   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Dockerfile.bullseye b/Dockerfile.bullseye
index 30a6735..d1cd9c4 100644
--- a/Dockerfile.bullseye
+++ b/Dockerfile.bullseye
@@ -9,6 +9,7 @@ RUN apt-get -qq update && \
         python3-pip python3-qrcode python3-fido2 python3-oauthlib python3-flask-babel python3-pytest python3-all python3-pip \
         git-buildpackage debhelper dh-python mariadb-server && \
     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 2f8a4f5..22da9cd 100644
--- a/Dockerfile.buster
+++ b/Dockerfile.buster
@@ -9,6 +9,7 @@ RUN apt-get -qq update && \
         python3-pip python3-qrcode python3-fido2 python3-oauthlib python3-flask-babel python3-pytest python3-all python3-pip \
         git-buildpackage debhelper dh-python mariadb-server && \
     pip3 install pylint html5validator twine build --upgrade && \
+    mysql_secure_installation && \
     apt-get -qq clean
 
 FROM uffd-base AS openldap-base
-- 
GitLab