Skip to content

Commit c7c4304

Browse files
author
Lucas Riutzel
committed
comment out skip networking in the new config that came with the new mariadb update
1 parent 9580595 commit c7c4304

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docker-src/db/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ RUN apk --no-cache add --update mariadb mariadb-client pwgen
66
ADD files/run.sh /scripts/run.sh
77
ADD conf/map.cnf /etc/my.cnf.d/map.cnf
88

9-
RUN mkdir /scripts/pre-exec.d && \
9+
# Comment out skip-networking
10+
RUN sed -e '/skip-networking/ s/^#*/#/' -i /etc/my.cnf.d/mariadb-server.cnf && \
11+
mkdir /scripts/pre-exec.d && \
1012
mkdir /scripts/pre-init.d && \
1113
chmod -R 755 /scripts
1214

0 commit comments

Comments
 (0)