Skip to content

Commit

Permalink
mysql 配置时区
Browse files Browse the repository at this point in the history
  • Loading branch information
supermy committed Jun 24, 2015
1 parent 8495938 commit 70efdcd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/mysql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ connect_timeout = 20 \n\
' /etc/mysql/my.cnf

#配置时区
RUN echo "Asia/Shanghai" > /etc/timezone
RUN dpkg-reconfigure -f noninteractive tzdata

RUN more /etc/mysql/my.cnf

0 comments on commit 70efdcd

Please sign in to comment.