Skip to content

Commit 18237b4

Browse files
authored
Merge pull request laradock#2293 from pelicancode/patch-1
MySql config file permissions fix
2 parents b08385b + 237e39b commit 18237b4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

mysql/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone &
1313

1414
COPY my.cnf /etc/mysql/conf.d/my.cnf
1515

16+
RUN chmod 0444 /etc/mysql/conf.d/my.cnf
17+
1618
CMD ["mysqld"]
1719

1820
EXPOSE 3306

0 commit comments

Comments
 (0)