From fc2f81452f6ace0eea33b9a41bf158ad64aef199 Mon Sep 17 00:00:00 2001 From: yohan-b Date: Sun, 28 Apr 2024 13:06:38 +0200 Subject: [PATCH] Fix deprecated chown syntax. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a820fdc..e69c1cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get -y install mariadb-server rsync RUN deluser mysql && addgroup --system --gid 120 mysql && adduser --no-create-home --system --uid 113 --ingroup mysql mysql RUN /usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld -RUN chown -R mysql. /var/lib/mysql /run/mysqld +RUN chown -R mysql:mysql /var/lib/mysql /run/mysqld RUN mv /etc/mysql/mariadb.conf.d/50-mysqld_safe.cnf /root/ RUN mv /etc/mysql/mariadb.conf.d/50-server.cnf /root/ RUN mv /etc/mysql/debian.cnf /root/