![dependabot[bot]](/assets/img/avatar_default.png) 2a644f64ad
			
		
	
	2a644f64ad
	
	
	
		
			
			Bumps golang from 1.16.0 to 1.16.1. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
		
			
				
	
	
		
			17 lines
		
	
	
		
			299 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			299 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM golang:1.16.1 AS builder
 | |
| 
 | |
| WORKDIR /work
 | |
| 
 | |
| COPY . .
 | |
| 
 | |
| RUN go build -o /work/proxy ./cmd/proxy
 | |
| 
 | |
| # Copy binary to alpine
 | |
| FROM gcr.io/distroless/base-debian10:debug
 | |
| 
 | |
| COPY --from=builder /work/proxy /
 | |
| 
 | |
| HEALTHCHECK CMD [ "wget", "--spider", "http://localhost:4180/akprox/ping" ]
 | |
| 
 | |
| ENTRYPOINT ["/proxy"]
 |