From 2c558ce05fd8d45f4065c788863757cadfd56ff5 Mon Sep 17 00:00:00 2001 From: Aleksandr Kuzminsky Date: Thu, 22 Feb 2018 16:21:31 -0800 Subject: [PATCH] Full path because /usr/local/bin/ is not in PATH --- centos/7/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"]