From f9faaa21d6b986be0b3faf13e505a9e1cb94f2db Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Thu, 23 Mar 2017 16:54:32 +0800 Subject: fix ^M --- Dockerfile | 1 + 1 file changed, 1 insertion(+) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 86208ae..6d08c10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,6 +74,7 @@ RUN \ chmod +x /etc/init.d/nginx && \ /usr/sbin/update-rc.d -f nginx defaults && \ useradd --no-create-home nginx && \ + sed -i -e 's/\r//g' /etc/init.d/nginx && \ mkdir -p /var/cache/nginx EXPOSE 80 -- cgit v1.2.3