Skip to content

Commit

Permalink
Merge pull request laradock#1968 from Ishodnikov/patch-1
Browse files Browse the repository at this point in the history
Set my.cnf permissions
  • Loading branch information
lanphan authored Oct 25, 2019
2 parents 18237b4 + 3ad3740 commit b34b052
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mariadb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ ENV TZ ${TZ}
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && chown -R mysql:root /var/lib/mysql/
COPY my.cnf /etc/mysql/conf.d/my.cnf

RUN chmod -R 644 /etc/mysql/conf.d/my.cnf

CMD ["mysqld"]

EXPOSE 3306

0 comments on commit b34b052

Please sign in to comment.