- FROM mysql/mysql-server:5.7.12
- RUN yum install -y wget
- RUN wget https://code.senomas.com/seno/docker-util-out/raw/master/linux-amd64/hlic
- RUN mkdir -p /var/run/sshd && sed -i "s/UsePrivilegeSeparation.*/UsePrivilegeSeparation no/g" /etc/ssh/sshd_config && \
- sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
- touch /root/.Xauthority && \
- true
- ADD entrypoint.sh entrypoint.sh
- ADD my.cnf /etc/my.cnf
- ADD init-db.sql /docker-entrypoint-initdb.d/init-db.sql
|