Skip to content

Commit b34b052

Browse files
authored
Merge pull request laradock#1968 from Ishodnikov/patch-1
Set my.cnf permissions
2 parents 18237b4 + 3ad3740 commit b34b052

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

mariadb/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ ENV TZ ${TZ}
1212
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && chown -R mysql:root /var/lib/mysql/
1313
COPY my.cnf /etc/mysql/conf.d/my.cnf
1414

15+
RUN chmod -R 644 /etc/mysql/conf.d/my.cnf
16+
1517
CMD ["mysqld"]
1618

1719
EXPOSE 3306

0 commit comments

Comments
 (0)