Changing permissions for dlv in debug
This commit is contained in:
		
							parent
							
								
									90949f4731
								
							
						
					
					
						commit
						51cc659bad
					
				|  | @ -11,6 +11,7 @@ USER 1000:1000 | ||||||
| 
 | 
 | ||||||
| RUN go get github.com/derekparker/delve/cmd/dlv | RUN go get github.com/derekparker/delve/cmd/dlv | ||||||
| 
 | 
 | ||||||
|  | RUN chmod -R +x /root/go/bin/dlv | ||||||
| COPY build/* / | COPY build/* / | ||||||
| 
 | 
 | ||||||
| CMD ["/root/go/bin/dlv", "--listen=:7777", "--headless=true", "--api-version=2", "exec", "/postgres-operator"] | CMD ["/root/go/bin/dlv", "--listen=:7777", "--headless=true", "--api-version=2", "exec", "/postgres-operator"] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue