Adding users and permissions in the DebugDockerfile
This commit is contained in:
		
							parent
							
								
									3ddac8435c
								
							
						
					
					
						commit
						90949f4731
					
				|  | @ -3,6 +3,12 @@ MAINTAINER Team ACID @ Zalando <team-acid@zalando.de> | |||
| 
 | ||||
| # We need root certificates to deal with teams api over https | ||||
| RUN apk --no-cache add ca-certificates go git musl-dev | ||||
| 
 | ||||
| RUN addgroup -g 1000 pgo | ||||
| RUN adduser -D -u 1000 -G pgo -g 'Postgres operator' pgo | ||||
| 
 | ||||
| USER 1000:1000 | ||||
| 
 | ||||
| RUN go get github.com/derekparker/delve/cmd/dlv | ||||
| 
 | ||||
| COPY build/* / | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue