From 84f4068338bad5d70c994402c8ca1d0348985855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Gl=C3=A4=C3=9Fle?= Date: Sun, 4 Jun 2017 17:59:22 +0200 Subject: [PATCH] Add tini as minimal init system --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f5658100e2..105b2a0a40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ RUN chmod 0644 * \ ############################## RUN apk update \ - && apk add -u supervisor goaccess + && apk add -u supervisor goaccess tini # Cleanup ######### @@ -61,4 +61,4 @@ EXPOSE 7890 # Set the entry point to init.sh ########################################### -ENTRYPOINT ["/opt/init.sh"] +ENTRYPOINT ["/sbin/tini", "--", "/opt/init.sh"]