Attempt at unattended mysql_secure_installation
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -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 /
|
||||
|
||||
Reference in New Issue
Block a user