From 11dddf37340eec1ab9c1e95af6e4f1c1b1f87f5d Mon Sep 17 00:00:00 2001 From: Cyril Tovena Date: Thu, 5 Dec 2019 12:37:33 -0500 Subject: [PATCH] Let Loki start when using the debug image. 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 33c0a241a61de..c15efbb38bb31 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"]