File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN INSTALL_PKGS="policycoreutils rsync tar xz gettext hostname bind-utils groff
44
44
rpm -V $INSTALL_PKGS && \
45
45
/usr/libexec/mysqld -V | grep -qe "$MYSQL_VERSION\." && echo "Found VERSION $MYSQL_VERSION" && \
46
46
dnf -y clean all --enablerepo='*' && \
47
- mkdir -p /var/lib/mysql/data && chown -R mysql:0 /var/lib/mysql && \
47
+ mkdir -p /var/lib/mysql/data && chown -R mysql:root /var/lib/mysql && \
48
48
test "$(id mysql)" = "uid=27(mysql) gid=27(mysql) groups=27(mysql)"
49
49
50
50
# Get prefix path and path to scripts rather than hard-code them in scripts
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ RUN yum -y module enable mariadb:$MYSQL_VERSION && \
42
42
rpm -V $INSTALL_PKGS && \
43
43
/usr/libexec/mysqld -V | grep -qe "$MYSQL_VERSION\." && echo "Found VERSION $MYSQL_VERSION" && \
44
44
yum -y clean all --enablerepo='*' && \
45
- mkdir -p /var/lib/mysql/data && chown -R mysql.0 /var/lib/mysql && \
45
+ mkdir -p /var/lib/mysql/data && chown -R mysql:root /var/lib/mysql && \
46
46
test "$(id mysql)" = "uid=27(mysql) gid=27(mysql) groups=27(mysql)"
47
47
48
48
# Get prefix path and path to scripts rather than hard-code them in scripts
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ RUN yum -y module enable mariadb:$MYSQL_VERSION && \
42
42
rpm -V $INSTALL_PKGS && \
43
43
/usr/libexec/mysqld -V | grep -qe "$MYSQL_VERSION\." && echo "Found VERSION $MYSQL_VERSION" && \
44
44
yum -y clean all --enablerepo='*' && \
45
- mkdir -p /var/lib/mysql/data && chown -R mysql.0 /var/lib/mysql && \
45
+ mkdir -p /var/lib/mysql/data && chown -R mysql:root /var/lib/mysql && \
46
46
test "$(id mysql)" = "uid=27(mysql) gid=27(mysql) groups=27(mysql)"
47
47
48
48
# Get prefix path and path to scripts rather than hard-code them in scripts
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN INSTALL_PKGS="policycoreutils rsync tar gettext hostname bind-utils groff-ba
44
44
rpm -V $INSTALL_PKGS && \
45
45
/usr/libexec/mysqld -V | grep -qe "$MYSQL_VERSION\." && echo "Found VERSION $MYSQL_VERSION" && \
46
46
dnf -y clean all --enablerepo='*' && \
47
- mkdir -p /var/lib/mysql/data && chown -R mysql.0 /var/lib/mysql && \
47
+ mkdir -p /var/lib/mysql/data && chown -R mysql:root /var/lib/mysql && \
48
48
test "$(id mysql)" = "uid=27(mysql) gid=27(mysql) groups=27(mysql)"
49
49
50
50
# Get prefix path and path to scripts rather than hard-code them in scripts
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ RUN INSTALL_PKGS="policycoreutils rsync tar xz gettext hostname bind-utils groff
43
43
rpm -V $INSTALL_PKGS && \
44
44
/usr/libexec/mysqld -V | grep -qe "$MYSQL_VERSION\." && echo "Found VERSION $MYSQL_VERSION" && \
45
45
dnf -y clean all --enablerepo='*' && \
46
- mkdir -p /var/lib/mysql/data && chown -R mysql:0 /var/lib/mysql && \
46
+ mkdir -p /var/lib/mysql/data && chown -R mysql:root /var/lib/mysql && \
47
47
test "$(id mysql)" = "uid=27(mysql) gid=27(mysql) groups=27(mysql)"
48
48
49
49
# Get prefix path and path to scripts rather than hard-code them in scripts
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ RUN yum -y module enable mariadb:$MYSQL_VERSION && \
42
42
rpm -V $INSTALL_PKGS && \
43
43
/usr/libexec/mysqld -V | grep -qe "$MYSQL_VERSION\." && echo "Found VERSION $MYSQL_VERSION" && \
44
44
yum -y clean all --enablerepo='*' && \
45
- mkdir -p /var/lib/mysql/data && chown -R mysql.0 /var/lib/mysql && \
45
+ mkdir -p /var/lib/mysql/data && chown -R mysql:root /var/lib/mysql && \
46
46
test "$(id mysql)" = "uid=27(mysql) gid=27(mysql) groups=27(mysql)"
47
47
48
48
# Get prefix path and path to scripts rather than hard-code them in scripts
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ RUN yum -y module enable mariadb:$MYSQL_VERSION && \
42
42
rpm -V $INSTALL_PKGS && \
43
43
/usr/libexec/mysqld -V | grep -qe "$MYSQL_VERSION\." && echo "Found VERSION $MYSQL_VERSION" && \
44
44
yum -y clean all --enablerepo='*' && \
45
- mkdir -p /var/lib/mysql/data && chown -R mysql.0 /var/lib/mysql && \
45
+ mkdir -p /var/lib/mysql/data && chown -R mysql:root /var/lib/mysql && \
46
46
test "$(id mysql)" = "uid=27(mysql) gid=27(mysql) groups=27(mysql)"
47
47
48
48
# Get prefix path and path to scripts rather than hard-code them in scripts
You can’t perform that action at this time.
0 commit comments