Changing permissions for dlv in debug

This commit is contained in:
Rafia Sabih 2019-06-26 13:28:27 +02:00
parent 90949f4731
commit 51cc659bad
1 changed files with 1 additions and 0 deletions

View File

@ -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"]