Attempt at unattended mysql_secure_installation

This commit is contained in:
WilliamMiceli
2019-11-22 21:31:45 -05:00
parent 1433f31971
commit 1bf76da58a

View File

@@ -17,7 +17,16 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
COPY /etc/ /etc/
# Setting up MySQL --Will come back to later, as it's not necessary and not playing very well with automation
#RUN mysql_secure_installation --use-defaults
RUN mysql_secure_installation << EOF
y
Password1234
Password1234
y
y
y
y
EOF
# Copying in startup script
COPY /entrypoint.sh /