diff --git a/docker/DebugDockerfile b/docker/DebugDockerfile index 1d8064e2a..3aba4566c 100644 --- a/docker/DebugDockerfile +++ b/docker/DebugDockerfile @@ -11,6 +11,7 @@ USER 1000:1000 RUN go get github.com/derekparker/delve/cmd/dlv +RUN chmod -R +x /root/go/bin/dlv COPY build/* / CMD ["/root/go/bin/dlv", "--listen=:7777", "--headless=true", "--api-version=2", "exec", "/postgres-operator"]