From 3ffa385b1ec968ab0bf040a8a72f58e0a93d2b29 Mon Sep 17 00:00:00 2001 From: Cyril Tovena Date: Thu, 5 Dec 2019 14:07:43 -0500 Subject: [PATCH] Let Loki start when using the debug image. (#1372) Signed-off-by: Cyril Tovena --- cmd/loki/Dockerfile.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/loki/Dockerfile.debug b/cmd/loki/Dockerfile.debug index 33c0a241a6..c15efbb38b 100644 --- a/cmd/loki/Dockerfile.debug +++ b/cmd/loki/Dockerfile.debug @@ -24,5 +24,5 @@ RUN apk add --no-cache libc6-compat # Run delve, ending with -- because we pass params via kubernetes, per the docs: # Pass flags to the program you are debugging using --, for example:` # dlv exec ./hello -- server --config conf/config.toml` -ENTRYPOINT ["/usr/bin/dlv", "--listen=:40000", "--headless=true", "--api-version=2", "exec", "/usr/bin/loki-debug", "--"] +ENTRYPOINT ["/usr/bin/dlv", "--listen=:40000", "--headless=true", "--log", "--continue" , "--api-version=2", "exec", "/usr/bin/loki-debug", "--"] CMD ["-config.file=/etc/loki/local-config.yaml"]