Add rsync installation.

This commit is contained in:
yohan-b 2023-11-12 12:40:18 +01:00 committed by GitHub
parent 16bb01354d
commit 7babb49dec
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 mariadb-server 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 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