From 8c924a25b6ae02fcff41048e78bc64c1d029cdb3 Mon Sep 17 00:00:00 2001 From: Ricard Bejarano Date: Fri, 26 Apr 2019 08:55:33 +0200 Subject: [PATCH] splitted CMD into ENTRYPOINT+CMD --- glibc/Dockerfile | 3 ++- musl/Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/glibc/Dockerfile b/glibc/Dockerfile index dbddaf2..01883b2 100644 --- a/glibc/Dockerfile +++ b/glibc/Dockerfile @@ -76,4 +76,5 @@ COPY rootfs / STOPSIGNAL SIGTERM -CMD ["/nginx", "-g", "daemon off;"] +ENTRYPOINT ["/nginx"] +CMD ["-g", "daemon off;"] diff --git a/musl/Dockerfile b/musl/Dockerfile index ad25ae4..34572c1 100644 --- a/musl/Dockerfile +++ b/musl/Dockerfile @@ -65,4 +65,5 @@ COPY rootfs / STOPSIGNAL SIGTERM -CMD ["/nginx", "-g", "daemon off;"] +ENTRYPOINT ["/nginx"] +CMD ["-g", "daemon off;"]