Fixing debug permission issue
This commit is contained in:
		
							parent
							
								
									51cc659bad
								
							
						
					
					
						commit
						0a1571f502
					
				| 
						 | 
					@ -11,7 +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
 | 
					RUN chmod +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