Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Chepurnoy authored Jan 24, 2017
1 parent 17fbf27 commit 9912ca0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/docker/db/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ VOLUME ["/var/lib/mysql"]

RUN usermod -u ${HOST_UID} mysql

# Setup Mysql character to utf-8
RUN sed -i "/\[mysqld]/a collation-server=utf8_unicode_ci" /etc/mysql/mysql.conf.d/mysqld.cnf
RUN sed -i "/\[mysqld]/a character-set-server=utf8" /etc/mysql/mysql.conf.d/mysqld.cnf

EXPOSE 3306

0 comments on commit 9912ca0

Please sign in to comment.