From 179c70a4fa146457cb435b64ebee64d72dc480a5 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Mon, 6 Jan 2020 18:28:33 +0100 Subject: [PATCH] Explicitly close entrypoint options --- seafile-client/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/seafile-client/Dockerfile b/seafile-client/Dockerfile index 2087984..a91e46f 100644 --- a/seafile-client/Dockerfile +++ b/seafile-client/Dockerfile @@ -71,7 +71,6 @@ COPY seafile-healthcheck.sh /home/seafuser/healthcheck.sh COPY seafile-entrypoint.sh /home/seafuser/entrypoint.sh COPY tests /tests -# Set bash as the entrypoint and run the entrypoint script from that. -ENTRYPOINT ["/bin/bash"] +ENTRYPOINT ["/bin/bash", "--"] CMD ["/entrypoint.sh"] HEALTHCHECK --interval=5m --start-period=20s --retries=1 CMD ["su", "-", "${UNAME}", "-c", "/healthcheck.sh"] \ No newline at end of file