File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ RUN { \
50
50
51
51
# comment out a few problematic configuration values
52
52
# don't reverse lookup hostnames, they are usually another container
53
- RUN sed -Ei 's/^(bind-address|log)/#&/' /etc/mysql/my .cnf \
54
- && echo 'skip-host-cache\n skip-name-resolve' | awk '{ print } $1 == "[mysqld]" && c == 0 { c = 1; system("cat") }' /etc/mysql/my. cnf > /tmp/my .cnf \
55
- && mv /tmp/my .cnf /etc/mysql/my .cnf
53
+ RUN sed -Ei 's/^(bind-address|log)/#&/' /etc/mysql/mysql.conf.d/mysqld .cnf \
54
+ && echo 'skip-host-cache\n skip-name-resolve' | awk '{ print } $1 == "[mysqld]" && c == 0 { c = 1; system("cat") }' /etc/mysql/mysql.conf.d/mysqld. cnf > /tmp/mysqld .cnf \
55
+ && mv /tmp/mysqld .cnf /etc/mysql/mysql.conf.d/mysqld .cnf
56
56
57
57
VOLUME /var/lib/mysql
58
58
You can’t perform that action at this time.
0 commit comments