Fix package name.

This commit is contained in:
yohan-b 2023-11-12 12:15:20 +01:00 committed by GitHub
parent 1161febcc6
commit 16bb01354d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
FROM debian:bookworm FROM debian:bookworm
MAINTAINER yohan <783b8c87@scimetis.net> MAINTAINER yohan <783b8c87@scimetis.net>
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -y install mysql-server RUN apt-get update && apt-get -y install mariadb-server
RUN deluser mysql && addgroup --system --gid 120 mysql && adduser --no-create-home --system --uid 113 --ingroup mysql mysql 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 /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. /var/lib/mysql /run/mysqld