diff --git a/centos/7/Dockerfile b/centos/7/Dockerfile index e8155dc..1088535 100644 --- a/centos/7/Dockerfile +++ b/centos/7/Dockerfile @@ -35,6 +35,7 @@ RUN \ ADD my-master-legacy.cnf /etc/my.cnf COPY docker-entrypoint.sh /usr/local/bin/ -ENTRYPOINT ["docker-entrypoint.sh"] +RUN /bin/chmod 755 /usr/local/bin/docker-entrypoint.sh +ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] CMD ["mysqld"]