We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 133aeb3 commit ad12be6Copy full SHA for ad12be6
mysql57/Dockerfile
@@ -0,0 +1,13 @@
1
+FROM mysql:5.7
2
+
3
+LABEL maintainer="Tan Nguyen <tannp@cslant.com>"
4
+LABEL authors="cslant"
5
+LABEL description="MySQL image for CSlant development"
6
7
+COPY my.cnf /etc/mysql/conf.d/my.cnf
8
9
+RUN chmod 0444 /etc/mysql/conf.d/my.cnf
10
11
+CMD ["mysqld"]
12
13
+EXPOSE 3306
mysql57/my.cnf
@@ -0,0 +1,17 @@
+# The MySQL Client configuration file.
+#
+# For explanations see
+# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
+[mysql]
+[mysqld]
+character-set-server = utf8mb4
+collation-server = utf8mb4_unicode_ci
+sql_mode = ""
14
+max_connections = 200
15
+innodb_buffer_pool_size = 256M
16
17
+lower_case_table_names = 1
0 commit comments